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

Unified Diff: ash/accelerators/magnifier_key_scroller_unittest.cc

Issue 404203003: Distinguish between keystroke and character events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IsCharFromNative() for Mac build Created 6 years, 5 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/key_hold_detector.cc ('k') | ash/keyboard_overlay/keyboard_overlay_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/magnifier_key_scroller_unittest.cc
diff --git a/ash/accelerators/magnifier_key_scroller_unittest.cc b/ash/accelerators/magnifier_key_scroller_unittest.cc
index 21eb2ab1709e1bc3c5494e077aeca85fc5d84723..ad91abdf8dbda4ade98e4c9ff9582e071e9cddc1 100644
--- a/ash/accelerators/magnifier_key_scroller_unittest.cc
+++ b/ash/accelerators/magnifier_key_scroller_unittest.cc
@@ -22,7 +22,7 @@ class KeyEventDelegate : public aura::test::TestWindowDelegate {
// ui::EventHandler overrides:
virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE {
key_event.reset(new ui::KeyEvent(
- event->type(), event->key_code(), event->flags(), false));
+ event->type(), event->key_code(), event->flags()));
}
const ui::KeyEvent* event() const { return key_event.get(); }
« no previous file with comments | « ash/accelerators/key_hold_detector.cc ('k') | ash/keyboard_overlay/keyboard_overlay_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698