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

Unified Diff: ui/aura/window_tree_host.cc

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Fix build issues. Created 3 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_tree_host.h ('k') | ui/aura/window_tree_host_platform.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host.cc
diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc
index 1e2db75517902ee2f789ac34ee774236909b6fe0..fcbb9af71a7c59faca7983a35a71db25bd4d5f3e 100644
--- a/ui/aura/window_tree_host.cc
+++ b/ui/aura/window_tree_host.cc
@@ -71,8 +71,8 @@ void WindowTreeHost::RemoveObserver(WindowTreeHostObserver* observer) {
observers_.RemoveObserver(observer);
}
-ui::EventProcessor* WindowTreeHost::event_processor() {
- return dispatcher();
+ui::EventSink* WindowTreeHost::event_sink() {
+ return dispatcher_.get();
}
gfx::Transform WindowTreeHost::GetRootTransform() const {
@@ -194,7 +194,7 @@ void WindowTreeHost::SetSharedInputMethod(ui::InputMethod* input_method) {
ui::EventDispatchDetails WindowTreeHost::DispatchKeyEventPostIME(
ui::KeyEvent* event) {
- return SendEventToProcessor(event);
+ return SendEventToSink(event);
}
void WindowTreeHost::Show() {
@@ -329,8 +329,8 @@ gfx::ICCProfile WindowTreeHost::GetICCProfileForCurrentDisplay() {
return gfx::ICCProfile::FromBestMonitor();
}
-ui::EventProcessor* WindowTreeHost::GetEventProcessor() {
- return event_processor();
+ui::EventSink* WindowTreeHost::GetEventSink() {
+ return dispatcher_.get();
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « ui/aura/window_tree_host.h ('k') | ui/aura/window_tree_host_platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698