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

Unified Diff: ui/views/corewm/input_method_event_filter_unittest.cc

Issue 191153004: Provide access to the WindowEventDispatcher as a ui::EventProcessor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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/corewm/input_method_event_filter.cc ('k') | ui/views/test/views_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/input_method_event_filter_unittest.cc
diff --git a/ui/views/corewm/input_method_event_filter_unittest.cc b/ui/views/corewm/input_method_event_filter_unittest.cc
index 32995aba88b6b75aed963a15401efe88066f7b38..78abb756d4da3a0c4373c622de4fb496b7bb74ef 100644
--- a/ui/views/corewm/input_method_event_filter_unittest.cc
+++ b/ui/views/corewm/input_method_event_filter_unittest.cc
@@ -32,7 +32,7 @@ TEST_F(InputMethodEventFilterTest, TestInputMethodProperty) {
root_window()->SetEventFilter(root_filter);
InputMethodEventFilter input_method_event_filter(
- dispatcher()->host()->GetAcceleratedWidget());
+ host()->GetAcceleratedWidget());
root_filter->AddHandler(&input_method_event_filter);
// Tests if InputMethodEventFilter adds a window property on its
@@ -51,7 +51,7 @@ TEST_F(InputMethodEventFilterTest, TestInputMethodKeyEventPropagation) {
// Add the InputMethodEventFilter before the TestEventFilter.
InputMethodEventFilter input_method_event_filter(
- dispatcher()->host()->GetAcceleratedWidget());
+ host()->GetAcceleratedWidget());
root_filter->AddHandler(&input_method_event_filter);
// Add TestEventFilter to the RootWindow.
« no previous file with comments | « ui/views/corewm/input_method_event_filter.cc ('k') | ui/views/test/views_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698