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

Unified Diff: ui/aura/shared/input_method_event_filter.cc

Issue 10825050: Introduce RootWindowHostDelegate. The RootWindowHost performs most of its communication with RootWi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/aura/shared/compound_event_filter_unittest.cc ('k') | ui/aura/test/event_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/shared/input_method_event_filter.cc
===================================================================
--- ui/aura/shared/input_method_event_filter.cc (revision 148788)
+++ ui/aura/shared/input_method_event_filter.cc (working copy)
@@ -82,7 +82,7 @@
DCHECK(event.message != WM_CHAR);
#endif
aura::TranslatedKeyEvent aura_event(event, false /* is_char */);
- target_root_window_->DispatchKeyEvent(&aura_event);
+ target_root_window_->AsRootWindowHostDelegate()->OnHostKeyEvent(&aura_event);
}
void InputMethodEventFilter::DispatchFabricatedKeyEventPostIME(
@@ -91,7 +91,7 @@
int flags) {
aura::TranslatedKeyEvent aura_event(type == ui::ET_KEY_PRESSED, key_code,
flags);
- target_root_window_->DispatchKeyEvent(&aura_event);
+ target_root_window_->AsRootWindowHostDelegate()->OnHostKeyEvent(&aura_event);
}
} // namespace shared
« no previous file with comments | « ui/aura/shared/compound_event_filter_unittest.cc ('k') | ui/aura/test/event_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698