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

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
Index: ash/accelerators/accelerator_commands.h
diff --git a/ash/accelerators/accelerator_commands.h b/ash/accelerators/accelerator_commands.h
index 36006e7ebede569ef092457fd92d14bdf1fb86a0..90df49e7284cdb4c19fa3317b8186bf4469b9b33 100644
--- a/ash/accelerators/accelerator_commands.h
+++ b/ash/accelerators/accelerator_commands.h
@@ -9,6 +9,7 @@
// This file contains implementations of commands that are bound to keyboard
// shortcuts in Ash or in the embedding application (e.g. Chrome).
+// Note about tests:
namespace ash {
namespace accelerators {
@@ -21,6 +22,10 @@ ASH_EXPORT bool ToggleMinimized();
// fullscreen mode.
ASH_EXPORT void ToggleMaximized();
+// Toggles the fullscreen state. The behavior can be overridden
+// 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') | chrome/browser/ui/views/apps/native_app_window_views.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698