summaryrefslogtreecommitdiffstats
path: root/ash/shell_delegate.h
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-24 09:05:57 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-24 09:05:57 +0000
commite9e9025c4a80c8ea572697a887db4529d85a38a5 (patch)
treef7acac63354545d621c3a6bc56800b96c4084455 /ash/shell_delegate.h
parent390227889236aca3255418e388424e860bd45a1a (diff)
downloadchromium_src-e9e9025c4a80c8ea572697a887db4529d85a38a5.zip
chromium_src-e9e9025c4a80c8ea572697a887db4529d85a38a5.tar.gz
chromium_src-e9e9025c4a80c8ea572697a887db4529d85a38a5.tar.bz2
Enable fullscreening an app window using Shift+F4
BUG=229213 TEST=Manual, see bug R=jamescook TBR=sky (for change in chrome/browser/ui/views/accelerator_table.cc) Review URL: https://chromiumcodereview.appspot.com/14389004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r--ash/shell_delegate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 0ff5fe6..c561bf1 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -55,6 +55,7 @@ enum UserMetricsAction {
UMA_ACCEL_LOCK_SCREEN_L,
UMA_ACCEL_LOCK_SCREEN_LOCK_BUTTON,
UMA_ACCEL_LOCK_SCREEN_POWER_BUTTON,
+ UMA_ACCEL_FULLSCREEN_F4,
UMA_ACCEL_MAXIMIZE_RESTORE_F4,
UMA_ACCEL_NEWTAB_T,
UMA_ACCEL_NEXTWINDOW_F5,
@@ -126,6 +127,9 @@ 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 Shift+F4 to toggle the window fullscreen state.
+ virtual void ToggleFullscreen() = 0;
+
// Invoked when the user uses F4 to toggle window maximized state.
virtual void ToggleMaximized() = 0;