Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: chrome/browser/ui/views/frame/immersive_mode_controller.h

Issue 16070003: Move immersive fullscreen check into ImmersiveFullscreenConfiguration. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: sync+rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698