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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views_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: chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc
index eb810ab0e189c0befad5d6f1feb18fa67da307c5..660accde18daa8095e38058c3038a4b2ac2f2f20 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc
@@ -193,7 +193,7 @@ TEST_F(AutofillDialogViewsTest, ImeEventDoesntCrash) {
focused_view->GetClassName());
EXPECT_FALSE(dialog()->HandleKeyEvent(
static_cast<views::Textfield*>(focused_view),
- ui::KeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_A, 0, false)));
+ ui::KeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_A, ui::EF_NONE)));
}
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698