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

Unified Diff: ash/accelerators/accelerator_table.cc

Issue 9956056: ash: Add accelerator for snapping windows left/right. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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_table.cc
diff --git a/ash/accelerators/accelerator_table.cc b/ash/accelerators/accelerator_table.cc
index 01e3fdb8f0c9d62f7d2f5ef99d6b94f1e46fb3c0..6f07383179891c42ddf7705d84ae7779204d5fcf 100644
--- a/ash/accelerators/accelerator_table.cc
+++ b/ash/accelerators/accelerator_table.cc
@@ -71,6 +71,10 @@ const AcceleratorData kAcceleratorData[] = {
{ ui::ET_TRANSLATED_KEY_PRESS, ui::VKEY_VOLUME_UP, false, false, false,
VOLUME_UP },
{ ui::ET_TRANSLATED_KEY_PRESS, ui::VKEY_S, true, false, true, FOCUS_TRAY },
+ { ui::ET_TRANSLATED_KEY_PRESS, ui::VKEY_LEFT, false, true, true,
Daniel Erat 2012/04/17 16:51:19 it has been asserted in the past (by pkasting, i t
sadrul 2012/04/25 16:04:21 I changed the bindings to the ones suggested in th
+ SNAP_WINDOW_LEFT },
+ { ui::ET_TRANSLATED_KEY_PRESS, ui::VKEY_RIGHT, false, true, true,
+ SNAP_WINDOW_RIGHT },
{ ui::ET_TRANSLATED_KEY_PRESS, ui::VKEY_F1, true, true, false, SHOW_OAK },
{ ui::ET_TRANSLATED_KEY_PRESS, ui::VKEY_1, false, false, true,
SELECT_WIN_0 },
« ash/accelerators/accelerator_table.h ('K') | « ash/accelerators/accelerator_table.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698