OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ |
7 | 7 |
8 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" | 8 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 virtual bool ShouldHideTopViews() const OVERRIDE; | 27 virtual bool ShouldHideTopViews() const OVERRIDE; |
28 virtual bool IsRevealed() const OVERRIDE; | 28 virtual bool IsRevealed() const OVERRIDE; |
29 virtual int GetTopContainerVerticalOffset( | 29 virtual int GetTopContainerVerticalOffset( |
30 const gfx::Size& top_container_size) const OVERRIDE; | 30 const gfx::Size& top_container_size) const OVERRIDE; |
31 virtual ImmersiveRevealedLock* GetRevealedLock( | 31 virtual ImmersiveRevealedLock* GetRevealedLock( |
32 AnimateReveal animate_reveal) OVERRIDE WARN_UNUSED_RESULT; | 32 AnimateReveal animate_reveal) OVERRIDE WARN_UNUSED_RESULT; |
33 virtual void AnchorWidgetToTopContainer(views::Widget* widget, | 33 virtual void AnchorWidgetToTopContainer(views::Widget* widget, |
34 int y_offset) OVERRIDE; | 34 int y_offset) OVERRIDE; |
35 virtual void UnanchorWidgetFromTopContainer(views::Widget* widget) OVERRIDE; | 35 virtual void UnanchorWidgetFromTopContainer(views::Widget* widget) OVERRIDE; |
36 virtual void OnTopContainerBoundsChanged() OVERRIDE; | 36 virtual void OnTopContainerBoundsChanged() OVERRIDE; |
| 37 virtual void AddObserver(Observer* observer) OVERRIDE; |
| 38 virtual void RemoveObserver(Observer* observer) OVERRIDE; |
37 | 39 |
38 private: | 40 private: |
39 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerStub); | 41 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerStub); |
40 }; | 42 }; |
41 | 43 |
42 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ | 44 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ |
OLD | NEW |