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

Unified Diff: ui/views/controls/combobox/combobox_unittest.cc

Issue 2728373003: Fixs bug resulting in double event delivery in mus (Closed)
Patch Set: comments Created 3 years, 9 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/views/controls/combobox/combobox_unittest.cc
diff --git a/ui/views/controls/combobox/combobox_unittest.cc b/ui/views/controls/combobox/combobox_unittest.cc
index c2f6085dd3272c0f54c0f3f27350970d137e6a81..364c5844f39a9ce55bd08decf6da7b21d5ca36eb 100644
--- a/ui/views/controls/combobox/combobox_unittest.cc
+++ b/ui/views/controls/combobox/combobox_unittest.cc
@@ -212,6 +212,9 @@ class ComboboxTest : public ViewsTestBase {
CreateParams(Widget::InitParams::TYPE_WINDOW_FRAMELESS);
params.bounds = gfx::Rect(200, 200, 200, 200);
widget_->Init(params);
+ // This test sends events that in mus are normally routed to ime. Disable
+ // talking to the server so the test doesn't have to wait for the ack.
+ DisableMusInputMethod(widget_);
View* container = new View();
widget_->SetContentsView(container);
container->AddChildView(combobox_);

Powered by Google App Engine
This is Rietveld 408576698