OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 | 9 |
10 class BookmarkBarView; | 10 class BookmarkBarView; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 // Closes the top-of-window views if no locks or other anchored widgets are | 111 // Closes the top-of-window views if no locks or other anchored widgets are |
112 // keeping the top-of-window views revealed. | 112 // keeping the top-of-window views revealed. |
113 virtual void UnanchorWidgetFromTopContainer(views::Widget* widget) = 0; | 113 virtual void UnanchorWidgetFromTopContainer(views::Widget* widget) = 0; |
114 | 114 |
115 // Called by the TopContainerView to indicate that its bounds have changed. | 115 // Called by the TopContainerView to indicate that its bounds have changed. |
116 virtual void OnTopContainerBoundsChanged() = 0; | 116 virtual void OnTopContainerBoundsChanged() = 0; |
117 }; | 117 }; |
118 | 118 |
119 namespace chrome { | 119 namespace chrome { |
120 | 120 |
121 // Returns true if immersive mode should be used for fullscreen based on | |
122 // command line flags. | |
123 // Implemented in immersive_mode_controller_factory.cc. | |
124 bool UseImmersiveFullscreen(); | |
125 | |
126 // Implemented in immersive_mode_controller_factory.cc. | |
127 void EnableImmersiveFullscreenForTest(); | |
128 | |
129 // Implemented in immersive_mode_controller_factory.cc. | 121 // Implemented in immersive_mode_controller_factory.cc. |
130 ImmersiveModeController* CreateImmersiveModeController(); | 122 ImmersiveModeController* CreateImmersiveModeController(); |
131 | 123 |
132 } // namespace chrome | 124 } // namespace chrome |
133 | 125 |
134 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ | 126 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ |
OLD | NEW |