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. 4 5 #include "chrome/browser/ui/views/frame/immersive_mode_controller_stub.h" 6 7 #include "base/logging.h" 8 9 ImmersiveModeControllerStub::ImmersiveModeControllerStub() { 10 } 11 12 ImmersiveModeControllerStub::~ImmersiveModeControllerStub() { 13 } 14 15 void ImmersiveModeControllerStub::Init(BrowserView* browser_view) { 16 } 17 18 void ImmersiveModeControllerStub::SetEnabled(bool enabled) { 19 NOTREACHED(); 20 } 21 22 bool ImmersiveModeControllerStub::IsEnabled() const { 23 return false; 24 } 25 26 bool ImmersiveModeControllerStub::ShouldHideTabIndicators() const { 27 return false; 28 } 29 30 bool ImmersiveModeControllerStub::ShouldHideTopViews() const { 31 return false; 32 } 33 34 bool ImmersiveModeControllerStub::IsRevealed() const { 35 return false; 36 } 37 38 int ImmersiveModeControllerStub::GetTopContainerVerticalOffset( 39 const gfx::Size& top_container_size) const { 40 return 0; 41 } 42 43 ImmersiveRevealedLock* ImmersiveModeControllerStub::GetRevealedLock( 44 AnimateReveal animate_reveal) { 45 return NULL; 46 } 47 48 void ImmersiveModeControllerStub::OnFindBarVisibleBoundsChanged( 49 const gfx::Rect& new_visible_bounds_in_screen) { 50 } 51 52 void ImmersiveModeControllerStub::SetupForTest() { 53 } 54