blob: 4183ca86bc1349d1fcce331c42ca7d2de5d63bd3 [file] [log] [blame]
// 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_stub.h"
#include "base/logging.h"
ImmersiveModeControllerStub::ImmersiveModeControllerStub()
: ImmersiveModeController(Type::STUB) {}
ImmersiveModeControllerStub::~ImmersiveModeControllerStub() {
}
void ImmersiveModeControllerStub::Init(BrowserView* browser_view) {
}
void ImmersiveModeControllerStub::SetEnabled(bool enabled) {
NOTREACHED();
}
bool ImmersiveModeControllerStub::IsEnabled() const {
return false;
}
bool ImmersiveModeControllerStub::ShouldHideTopViews() const {
return false;
}
bool ImmersiveModeControllerStub::IsRevealed() const {
return false;
}
int ImmersiveModeControllerStub::GetTopContainerVerticalOffset(
const gfx::Size& top_container_size) const {
return 0;
}
ImmersiveRevealedLock* ImmersiveModeControllerStub::GetRevealedLock(
AnimateReveal animate_reveal) {
return nullptr;
}
void ImmersiveModeControllerStub::OnFindBarVisibleBoundsChanged(
const gfx::Rect& new_visible_bounds_in_screen) {
}
bool ImmersiveModeControllerStub::ShouldStayImmersiveAfterExitingFullscreen() {
return false;
}
void ImmersiveModeControllerStub::OnWidgetActivationChanged(
views::Widget* widget,
bool active) {}