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

Unified Diff: ui/app_list/views/apps_grid_view_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: ui/app_list/views/apps_grid_view_unittest.cc
diff --git a/ui/app_list/views/apps_grid_view_unittest.cc b/ui/app_list/views/apps_grid_view_unittest.cc
index 643621d3b6393e93697dbd60b3473c990c8d7987..a2ea2a0c139088cad2ed08e0380443273fdf56fa 100644
--- a/ui/app_list/views/apps_grid_view_unittest.cc
+++ b/ui/app_list/views/apps_grid_view_unittest.cc
@@ -171,7 +171,7 @@ class AppsGridViewTest : public views::ViewsTestBase {
}
void SimulateKeyPress(ui::KeyboardCode key_code) {
- ui::KeyEvent key_event(ui::ET_KEY_PRESSED, key_code, 0, false);
+ ui::KeyEvent key_event(ui::ET_KEY_PRESSED, key_code, ui::EF_NONE);
apps_grid_view_->OnKeyPressed(key_event);
}

Powered by Google App Engine
This is Rietveld 408576698