| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/aura/window_tree_host_ozone.h" | 5 #include "ui/aura/window_tree_host_ozone.h" |
| 6 | 6 |
| 7 #include "ui/aura/window_event_dispatcher.h" | 7 #include "ui/aura/window_event_dispatcher.h" |
| 8 #include "ui/events/ozone/event_factory_ozone.h" | 8 #include "ui/events/ozone/event_factory_ozone.h" |
| 9 #include "ui/gfx/ozone/surface_factory_ozone.h" | 9 #include "ui/gfx/ozone/surface_factory_ozone.h" |
| 10 #include "ui/ozone/ozone_platform.h" | 10 #include "ui/ozone/ozone_platform.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 void WindowTreeHostOzone::MoveCursorToNative(const gfx::Point& location) { | 104 void WindowTreeHostOzone::MoveCursorToNative(const gfx::Point& location) { |
| 105 gfx::SurfaceFactoryOzone::GetInstance()->MoveCursorTo(location); | 105 gfx::SurfaceFactoryOzone::GetInstance()->MoveCursorTo(location); |
| 106 } | 106 } |
| 107 | 107 |
| 108 void WindowTreeHostOzone::OnCursorVisibilityChangedNative(bool show) { | 108 void WindowTreeHostOzone::OnCursorVisibilityChangedNative(bool show) { |
| 109 NOTIMPLEMENTED(); | 109 NOTIMPLEMENTED(); |
| 110 } | 110 } |
| 111 | 111 |
| 112 ui::EventProcessor* WindowTreeHostOzone::GetEventProcessor() { | 112 ui::EventProcessor* WindowTreeHostOzone::GetEventProcessor() { |
| 113 return dispatcher(); | 113 return delegate_->GetEventProcessor(); |
| 114 } | 114 } |
| 115 | 115 |
| 116 // static | 116 // static |
| 117 WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { | 117 WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { |
| 118 return new WindowTreeHostOzone(bounds); | 118 return new WindowTreeHostOzone(bounds); |
| 119 } | 119 } |
| 120 | 120 |
| 121 // static | 121 // static |
| 122 gfx::Size WindowTreeHost::GetNativeScreenSize() { | 122 gfx::Size WindowTreeHost::GetNativeScreenSize() { |
| 123 NOTIMPLEMENTED(); | 123 NOTIMPLEMENTED(); |
| 124 return gfx::Size(); | 124 return gfx::Size(); |
| 125 } | 125 } |
| 126 | 126 |
| 127 } // namespace aura | 127 } // namespace aura |
| OLD | NEW |