root/chrome/browser/ui/views/frame/immersive_mode_controller.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. AddObserver
  2. RemoveObserver

// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/frame/immersive_mode_controller.h"

ImmersiveModeController::ImmersiveModeController() {
}

ImmersiveModeController::~ImmersiveModeController() {
  FOR_EACH_OBSERVER(Observer, observers_, OnImmersiveModeControllerDestroyed());
}

void ImmersiveModeController::AddObserver(Observer* observer) {
  observers_.AddObserver(observer);
}

void ImmersiveModeController::RemoveObserver(Observer* observer) {
  observers_.RemoveObserver(observer);
}

/* [<][>][^][v][top][bottom][index][help] */