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

Unified Diff: ash/accelerators/accelerator_controller_unittest.cc

Issue 2501123002: Disable the old lock-screen shortcut (Closed)
Patch Set: Fix MUS test Created 4 years, 1 month 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_controller_unittest.cc
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc
index 93bc0b50461a431d12538d9c1b01dd3794e62878..cb99f264c75377dc0e36b5920460894df9eae952 100644
--- a/ash/accelerators/accelerator_controller_unittest.cc
+++ b/ash/accelerators/accelerator_controller_unittest.cc
@@ -941,8 +941,8 @@ TEST_F(AcceleratorControllerTest, GlobalAccelerators) {
// NOTE: Accelerators that do not work on the lock screen need to be
// tested before the sequence below is invoked because it causes a side
// effect of locking the screen.
- EXPECT_TRUE(ProcessInController(
- ui::Accelerator(ui::VKEY_L, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN)));
+ EXPECT_TRUE(
+ ProcessInController(ui::Accelerator(ui::VKEY_L, ui::EF_COMMAND_DOWN)));
#endif
}
« no previous file with comments | « no previous file | ash/common/accelerators/accelerator_table.cc » ('j') | ash/common/accelerators/accelerator_table.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698