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

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

Issue 72503002: Remove some pass-thrus on RootWindow API in favor of exposing the RootWindowHost again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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/shell_dialogs/select_file_dialog_win.cc ('k') | ui/views/corewm/tooltip_aura.cc » ('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 5739d0ccf76af68675b52d9e9f51a2301c616cfa..2c95dc44e82d65d98e5d1555cee9884bc042cf8e 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()->GetAcceleratedWidget());
+ dispatcher()->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()->GetAcceleratedWidget());
+ dispatcher()->host()->GetAcceleratedWidget());
root_filter->AddHandler(&input_method_event_filter);
// Add TestEventFilter to the RootWindow.
« no previous file with comments | « ui/shell_dialogs/select_file_dialog_win.cc ('k') | ui/views/corewm/tooltip_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698