1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h"
7 ImmersiveModeController::ImmersiveModeController() {
10 ImmersiveModeController::~ImmersiveModeController() {
11 FOR_EACH_OBSERVER(Observer
, observers_
, OnImmersiveModeControllerDestroyed());
14 void ImmersiveModeController::AddObserver(Observer
* observer
) {
15 observers_
.AddObserver(observer
);
18 void ImmersiveModeController::RemoveObserver(Observer
* observer
) {
19 observers_
.RemoveObserver(observer
);