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

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.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..3784d1f668b59e6906c405325673c7db731b07b1 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 |WindowState::maximize_when_fullscreen()|
+// returns true, it will toggle maximized mode instead. If the window is
+// already in maximized, it exits maximized mode.
+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.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698