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

Unified Diff: ui/views/widget/desktop_native_widget_helper_aura.h

Issue 10332145: aura/ash split: Moves RootWindowEventFilter and InputMethodEventFilter to ui/aura/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved to ui/aura/shared/ Created 8 years, 7 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/widget/desktop_native_widget_helper_aura.h
diff --git a/ui/views/widget/desktop_native_widget_helper_aura.h b/ui/views/widget/desktop_native_widget_helper_aura.h
index 9f3ec1f9edd009979b3311332b537c3b0522bdf0..9011859248daba6447fac603c37e9a69a122e1cd 100644
--- a/ui/views/widget/desktop_native_widget_helper_aura.h
+++ b/ui/views/widget/desktop_native_widget_helper_aura.h
@@ -14,6 +14,10 @@
namespace aura {
class RootWindow;
+namespace shared {
+class InputMethodEventFilter;
+class RootWindowEventFilter;
+}
}
namespace ui {
@@ -56,6 +60,12 @@ class VIEWS_EXPORT DesktopNativeWidgetHelperAura
// Optionally, a RootWindow that we attach ourselves to.
scoped_ptr<aura::RootWindow> root_window_;
+ // Toplevel event filter which dispatches to other event filters.
+ aura::shared::RootWindowEventFilter* root_window_event_filter_;
+
+ // An event filter that pre-handles all key events to send them to an IME.
+ scoped_ptr<aura::shared::InputMethodEventFilter> input_method_filter_;
+
// We want some windows (omnibox, status bar) to have their own
// NativeWidgetAura, but still act as if they're screen bounded toplevel
// windows.

Powered by Google App Engine
This is Rietveld 408576698