From 607419ad5ffcb6cda8434af8aa74c8ce8e0a5f4c Mon Sep 17 00:00:00 2001 From: "oshima@chromium.org" Date: Thu, 23 May 2013 19:58:40 +0000 Subject: This CL create just a window which will be used to show the mirrored content of the source window. See the next steps for misc: * added debug+desktop only shortcut * rotating square display now update the root window. Next steps: * Mirror cursor * Modify OutputConfigurator to fallback to software mirror mode. * Scale the root window size for mirror window so that it has the same size as the source root window. * Copy texture from soruce window to dest window. * Handle device scale factor/cursor scaling. BUG=239776 TEST=covered by test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201618 Review URL: https://chromiumcodereview.appspot.com/15367003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201870 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/accelerators/accelerator_table.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ash/accelerators') diff --git a/ash/accelerators/accelerator_table.cc b/ash/accelerators/accelerator_table.cc index 835ac45..46eeff3 100644 --- a/ash/accelerators/accelerator_table.cc +++ b/ash/accelerators/accelerator_table.cc @@ -187,6 +187,8 @@ const AcceleratorData kDesktopAcceleratorData[] = { { false, ui::VKEY_POWER, ui::EF_SHIFT_DOWN, LOCK_RELEASED }, { true, ui::VKEY_D, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN, ADD_REMOVE_DISPLAY }, + { true, ui::VKEY_M, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN, + TOGGLE_MIRROR_MODE }, #endif // Extra shortcut for display swaping as alt-f4 is taken on linux desktop. { true, ui::VKEY_S, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN, -- cgit v1.1