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

Unified Diff: content/browser/web_contents/aura/window_slider_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
Index: content/browser/web_contents/aura/window_slider_unittest.cc
diff --git a/content/browser/web_contents/aura/window_slider_unittest.cc b/content/browser/web_contents/aura/window_slider_unittest.cc
index 4a2d0a56001098ab45cc129b8eb1f142da04692b..b6bd73831fcd689fcff3a7f0bc92ee8327bba403 100644
--- a/content/browser/web_contents/aura/window_slider_unittest.cc
+++ b/content/browser/web_contents/aura/window_slider_unittest.cc
@@ -300,10 +300,7 @@ TEST_F(WindowSliderTest, WindowSlideIsCancelledOnEvent) {
gfx::Point(55, 10),
gfx::Point(55, 10),
0, 0),
- new ui::KeyEvent(ui::ET_KEY_PRESSED,
- ui::VKEY_A,
- 0,
- true),
+ new ui::KeyEvent('a', ui::VKEY_A, ui::EF_NONE),
NULL
};
« no previous file with comments | « content/browser/renderer_host/web_input_event_aura_unittest.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698