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

Unified Diff: ash/accelerators/accelerator_commands.h

Issue 42353002: Introduce WindowStateDelegate::ToggleFullscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/accelerators/accelerator_commands.cc » ('j') | ash/wm/window_state_delegate.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_commands.h
diff --git a/ash/accelerators/accelerator_commands.h b/ash/accelerators/accelerator_commands.h
index 36006e7ebede569ef092457fd92d14bdf1fb86a0..f199068261954163dd6573e84f91293a17ea2399 100644
--- a/ash/accelerators/accelerator_commands.h
+++ b/ash/accelerators/accelerator_commands.h
@@ -21,6 +21,11 @@ ASH_EXPORT bool ToggleMinimized();
// fullscreen mode.
ASH_EXPORT void ToggleMaximized();
+// Toggles the fullscreen state. If the window is already in
+// maximized, it exits maximized mode. The behavior can be overridden
pkotwicz 2013/10/29 00:46:01 "If the window is already in maximized, it exits m
+// by |WindowStateDelegate::ToggleFullscreen()|.
+ASH_EXPORT void ToggleFullscreen();
+
} // namespace accelerators
} // namespace ash
« no previous file with comments | « no previous file | ash/accelerators/accelerator_commands.cc » ('j') | ash/wm/window_state_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698