This source file includes following definitions.
- AddObserver
- RemoveObserver
#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);
}