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

Unified Diff: ash/accelerators/accelerator_table.cc

Issue 11087014: Revert 160696 - Decouple EventClientImpl and root window. Check containers on the same root window … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « ash/accelerators/accelerator_table.h ('k') | ash/extended_desktop_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_table.cc
===================================================================
--- ash/accelerators/accelerator_table.cc (revision 160706)
+++ ash/accelerators/accelerator_table.cc (working copy)
@@ -66,12 +66,6 @@
// Extra shortcut for display swaping as alt-f4 is taken on linux desktop.
{ true, ui::VKEY_F4, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN,
SWAP_PRIMARY_DISPLAY },
- // Extra shortcut to exit on linux desktop.
- { true, ui::VKEY_F11, ui::EF_NONE, POWER_PRESSED },
- { false, ui::VKEY_F11, ui::EF_NONE, POWER_RELEASED },
- // Extra shortcut to lock the screen on linux desktop.
- { true, ui::VKEY_F12, ui::EF_NONE, LOCK_PRESSED },
- { false, ui::VKEY_F12, ui::EF_NONE, LOCK_RELEASED },
#endif
{ true, ui::VKEY_O, ui::EF_CONTROL_DOWN, OPEN_FILE_MANAGER_DIALOG },
{ true, ui::VKEY_M, ui::EF_CONTROL_DOWN, OPEN_FILE_MANAGER_TAB },
@@ -199,8 +193,6 @@
CYCLE_FORWARD_MRU_PRESSED, // Alt+Tab
CYCLE_FORWARD_MRU_RELEASED,
#if defined(OS_CHROMEOS)
- LOCK_PRESSED,
- LOCK_RELEASED,
POWER_PRESSED,
POWER_RELEASED,
TOGGLE_MAXIMIZED_PRESSED,
@@ -239,10 +231,6 @@
PRINT_WINDOW_HIERARCHY,
ROTATE_SCREEN,
#endif
-#if defined(OS_CHROMEOS) && !defined(NDEBUG)
- POWER_PRESSED,
- POWER_RELEASED,
-#endif
};
const size_t kActionsAllowedAtLoginOrLockScreenLength =
@@ -250,10 +238,6 @@
const AcceleratorAction kActionsAllowedAtLockScreen[] = {
EXIT,
-#if defined(OS_CHROMEOS) && !defined(NDEBUG)
- POWER_PRESSED,
- POWER_RELEASED,
-#endif
};
const size_t kActionsAllowedAtLockScreenLength =
« no previous file with comments | « ash/accelerators/accelerator_table.h ('k') | ash/extended_desktop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698