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

Unified Diff: trunk/src/ui/views/controls/combobox/native_combobox_views_unittest.cc

Issue 23710009: Revert 219673 "Fix Views Combobox and Tree View text input." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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: trunk/src/ui/views/controls/combobox/native_combobox_views_unittest.cc
===================================================================
--- trunk/src/ui/views/controls/combobox/native_combobox_views_unittest.cc (revision 220120)
+++ trunk/src/ui/views/controls/combobox/native_combobox_views_unittest.cc (working copy)
@@ -113,6 +113,10 @@
input_method_ = new MockInputMethod();
widget_->ReplaceInputMethod(input_method_);
+
+ // Assumes the Widget is always focused.
+ input_method_->OnFocus();
+
combobox_->RequestFocus();
}
« no previous file with comments | « trunk/src/ui/views/controls/combobox/combobox.cc ('k') | trunk/src/ui/views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698