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

Unified Diff: ash/wm/window_state_delegate.h

Issue 59043013: Add flag to enable immersive fullscreen for v2 apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/immersive_fullscreen_controller_unittest.cc ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_state_delegate.h
diff --git a/ash/wm/window_state_delegate.h b/ash/wm/window_state_delegate.h
index 7b9a8baa3d2cdd8341fc576fe14aef2efb2c90fe..53badcf415e9df751797aa507fe5326fa03b0a76 100644
--- a/ash/wm/window_state_delegate.h
+++ b/ash/wm/window_state_delegate.h
@@ -17,9 +17,12 @@ class ASH_EXPORT WindowStateDelegate {
WindowStateDelegate();
virtual ~WindowStateDelegate();
- // Invoked when the user uses Shift+F4/F4 to toggle the window
- // fullscreen state. The caller (ash::wm::WindowState) falls backs
- // to the default implementation if this returns false.
+ // Invoked when the user uses Shift+F4/F4 to toggle the window fullscreen
+ // state. If the window is not fullscreen and the window supports immersive
+ // fullscreen ToggleFullscreen() should put the window into immersive
+ // fullscreen instead of the default fullscreen type. The caller
+ // (ash::wm::WindowState) falls backs to the default implementation if this
+ // returns false.
virtual bool ToggleFullscreen(WindowState* window_state);
private:
« no previous file with comments | « ash/wm/immersive_fullscreen_controller_unittest.cc ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698