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

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 10 years 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 ed69e54b2046d37c8d977588c79ddf2f9873512f..d58fd973bb7da04da2209e51e4da1df20ff2ae29 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