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

Unified Diff: ash/content/keyboard_overlay/keyboard_overlay_view_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 | « ash/autoclick/autoclick_controller.cc ('k') | chrome/browser/chromeos/events/event_rewriter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/content/keyboard_overlay/keyboard_overlay_view_unittest.cc
diff --git a/ash/content/keyboard_overlay/keyboard_overlay_view_unittest.cc b/ash/content/keyboard_overlay/keyboard_overlay_view_unittest.cc
index ef5159ed79b6b03c1f11531480bb97b9202acdbb..4e129e85329071e7bada12c0a8e5409c9838e317 100644
--- a/ash/content/keyboard_overlay/keyboard_overlay_view_unittest.cc
+++ b/ash/content/keyboard_overlay/keyboard_overlay_view_unittest.cc
@@ -50,8 +50,8 @@ TEST_F(KeyboardOverlayViewTest, TestCancelingKeysWithNonModifierFlags) {
ShellContentState::GetInstance()->GetActiveBrowserContext(), &delegate,
new ui::test::TestWebContentsHandler);
- const int kNonModifierFlags = ui::EF_IS_REPEAT | ui::EF_IME_FABRICATED_KEY |
- ui::EF_NUM_LOCK_DOWN | ui::EF_IS_SYNTHESIZED;
+ const int kNonModifierFlags = ui::EF_IS_SYNTHESIZED | ui::EF_NUM_LOCK_ON |
+ ui::EF_IME_FABRICATED_KEY | ui::EF_IS_REPEAT;
std::vector<KeyboardOverlayView::KeyEventData> canceling_keys;
KeyboardOverlayView::GetCancelingKeysForTesting(&canceling_keys);
« no previous file with comments | « ash/autoclick/autoclick_controller.cc ('k') | chrome/browser/chromeos/events/event_rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698