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

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
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);
oshima 2013/11/08 23:25:32 Why you reverted Enter/Exit change? Was there any
pkotwicz 2013/11/09 00:09:02 There is no reason to making the Enter/Exit change
private:

Powered by Google App Engine
This is Rietveld 408576698