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

Unified Diff: ash/accelerators/accelerator_filter_unittest.cc

Issue 1559163002: Clean up event flags a bit: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment Created 4 years, 11 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 | « no previous file | ash/autoclick/autoclick_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_filter_unittest.cc
diff --git a/ash/accelerators/accelerator_filter_unittest.cc b/ash/accelerators/accelerator_filter_unittest.cc
index 9eefbbda0e924b7f65f46b19f04d18e2c5deb530..2cabbc291c4029c65b3ccb7e87335eac3da36bfd 100644
--- a/ash/accelerators/accelerator_filter_unittest.cc
+++ b/ash/accelerators/accelerator_filter_unittest.cc
@@ -81,9 +81,9 @@ TEST_F(AcceleratorFilterTest, TestCapsLockMask) {
// Check if AcceleratorFilter ignores the mask for Caps Lock. Note that there
// is no ui::EF_ mask for Num Lock.
- generator.PressKey(ui::VKEY_PRINT, ui::EF_CAPS_LOCK_DOWN);
+ generator.PressKey(ui::VKEY_PRINT, ui::EF_CAPS_LOCK_ON);
EXPECT_EQ(2, delegate->handle_take_screenshot_count());
- generator.ReleaseKey(ui::VKEY_PRINT, ui::EF_CAPS_LOCK_DOWN);
+ generator.ReleaseKey(ui::VKEY_PRINT, ui::EF_CAPS_LOCK_ON);
EXPECT_EQ(2, delegate->handle_take_screenshot_count());
}
« no previous file with comments | « no previous file | ash/autoclick/autoclick_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698