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

Unified Diff: views/controls/textfield/native_textfield_views_unittest.cc

Issue 6034002: Replace Textfield::Keystroke with views::KeyEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 12 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: views/controls/textfield/native_textfield_views_unittest.cc
diff --git a/views/controls/textfield/native_textfield_views_unittest.cc b/views/controls/textfield/native_textfield_views_unittest.cc
index eecac8ec9b74ec4075189f81515a0b11a33c8849..839cbbc551e4954cd42123ca285c036b5ad5a12f 100644
--- a/views/controls/textfield/native_textfield_views_unittest.cc
+++ b/views/controls/textfield/native_textfield_views_unittest.cc
@@ -48,8 +48,9 @@ class NativeTextfieldViewsTest : public ::testing::Test,
last_contents_ = new_contents;
}
- virtual bool HandleKeystroke(Textfield* sender,
- const Textfield::Keystroke& keystroke) {
+ virtual bool HandleKeyEvent(Textfield* sender,
+ const KeyEvent& key_event) {
+
// TODO(oshima): figure out how to test the keystroke.
return false;
}

Powered by Google App Engine
This is Rietveld 408576698