Chromium Code Reviews| 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..077e09ee3a4a624d1b2f3b56d3ff49a427eb7965 100644 |
| --- a/ui/aura/window_tree_host.cc |
| +++ b/ui/aura/window_tree_host.cc |
| @@ -71,7 +71,7 @@ void WindowTreeHost::RemoveObserver(WindowTreeHostObserver* observer) { |
| observers_.RemoveObserver(observer); |
| } |
| -ui::EventProcessor* WindowTreeHost::event_processor() { |
| +ui::EventSink* WindowTreeHost::event_sink() { |
| return dispatcher(); |
|
sky
2017/03/20 15:42:12
return dispatcher_.get;
Peng
2017/03/20 17:24:14
Done.
|
| } |
| @@ -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 event_sink(); |
|
sky
2017/03/20 15:42:12
return disptacher_.get();
Peng
2017/03/20 17:24:14
Done.
|
| } |
| //////////////////////////////////////////////////////////////////////////////// |