Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / immersive_mode_controller.cc
blobcebf6cb8bff62f83613d6d94e8ec35bc3ab2adb5
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);