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

Unified Diff: ash/shell_delegate.h

Issue 11082002: Remove TOGGLE_MAXIMIZED_* from Ash reserved actions list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix AcceleratorControllerTest.WindowSnap Created 8 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/shell_delegate.h
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 92ec386373e0573150da744c921ab2459947ba14..ae5cfb9d0fdd0eb9866a8345d852021e3b71d5f3 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -90,6 +90,10 @@ class ASH_EXPORT ShellDelegate {
// Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window.
virtual void NewWindow(bool incognito) = 0;
+ // Invoked when the user uses F4 to toggle window maximized state.
+ // When in fullscreen mode, it gets out of fullscreen.
+ virtual void ToggleMaximized() = 0;
+
// Invoked when the user uses Ctrl-M or Ctrl-O to open file manager.
virtual void OpenFileManager(bool as_dialog) = 0;

Powered by Google App Engine
This is Rietveld 408576698