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

Unified Diff: ui/views/test/views_test_base.h

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
« no previous file with comments | « ui/views/test/platform_test_helper.h ('k') | ui/views/test/views_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/views_test_base.h
diff --git a/ui/views/test/views_test_base.h b/ui/views/test/views_test_base.h
index ebdc44070cbe3f622a05d5f960f7dbb9c134c807..87b877fb0370b53f24dfdfdaa72c50b25186be15 100644
--- a/ui/views/test/views_test_base.h
+++ b/ui/views/test/views_test_base.h
@@ -48,6 +48,11 @@ class ViewsTestBase : public PlatformTest {
// Simulate an OS-level destruction of the native window held by |widget|.
void SimulateNativeDestroy(Widget* widget);
+ // When running in mus key events are routed to the ime. Use this to disable
+ // events being routed to ime. If you don't do this you'll need to wait for
+ // ime to ack the event.
sadrul 2017/03/07 03:07:19 Are there any tests that actually does wait for th
sky 2017/03/07 04:58:29 I thought some tests might want to talk to the ser
+ void DisableMusInputMethod(Widget* widget);
+
protected:
TestViewsDelegate* views_delegate() const {
return test_helper_->views_delegate();
« no previous file with comments | « ui/views/test/platform_test_helper.h ('k') | ui/views/test/views_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698