Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / immersive_mode_controller_stub.cc
blobc07d77fec202e09624dc21733788f546aabf6726
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_stub.h"
7 #include "base/logging.h"
9 ImmersiveModeControllerStub::ImmersiveModeControllerStub() {
12 ImmersiveModeControllerStub::~ImmersiveModeControllerStub() {
15 void ImmersiveModeControllerStub::Init(BrowserView* browser_view) {
18 void ImmersiveModeControllerStub::SetEnabled(bool enabled) {
19 NOTREACHED();
22 bool ImmersiveModeControllerStub::IsEnabled() const {
23 return false;
26 bool ImmersiveModeControllerStub::ShouldHideTabIndicators() const {
27 return false;
30 bool ImmersiveModeControllerStub::ShouldHideTopViews() const {
31 return false;
34 bool ImmersiveModeControllerStub::IsRevealed() const {
35 return false;
38 int ImmersiveModeControllerStub::GetTopContainerVerticalOffset(
39 const gfx::Size& top_container_size) const {
40 return 0;
43 ImmersiveRevealedLock* ImmersiveModeControllerStub::GetRevealedLock(
44 AnimateReveal animate_reveal) {
45 return nullptr;
48 void ImmersiveModeControllerStub::OnFindBarVisibleBoundsChanged(
49 const gfx::Rect& new_visible_bounds_in_screen) {
52 void ImmersiveModeControllerStub::SetupForTest() {