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

Unified Diff: ui/aura/window_tree_host.h

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/aura/window_event_dispatcher_unittest.cc ('k') | ui/aura/window_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host.h
diff --git a/ui/aura/window_tree_host.h b/ui/aura/window_tree_host.h
index dc2b7c5803909d2100ef5547916002a4aa5c2f86..39864531c6dcfea22900af285afdd5e56c0eac5c 100644
--- a/ui/aura/window_tree_host.h
+++ b/ui/aura/window_tree_host.h
@@ -23,6 +23,7 @@ class Transform;
namespace ui {
class Compositor;
+class EventProcessor;
class ViewProp;
}
@@ -49,11 +50,13 @@ class AURA_EXPORT WindowTreeHost {
void InitCompositor();
+ void AddObserver(WindowTreeHostObserver* observer);
+ void RemoveObserver(WindowTreeHostObserver* observer);
+
Window* window() { return window_; }
const Window* window() const { return window_; }
- void AddObserver(WindowTreeHostObserver* observer);
- void RemoveObserver(WindowTreeHostObserver* observer);
+ ui::EventProcessor* event_processor();
WindowEventDispatcher* dispatcher() {
return const_cast<WindowEventDispatcher*>(
« no previous file with comments | « ui/aura/window_event_dispatcher_unittest.cc ('k') | ui/aura/window_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698