| 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/ozone/public/cursor_factory_ozone.h" | 8 #include "ui/ozone/public/cursor_factory_ozone.h" |
| 9 #include "ui/ozone/public/event_factory_ozone.h" | 9 #include "ui/ozone/public/event_factory_ozone.h" |
| 10 #include "ui/ozone/public/ozone_platform.h" | 10 #include "ui/ozone/public/ozone_platform.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 void WindowTreeHostOzone::OnLostCapture() { | 50 void WindowTreeHostOzone::OnLostCapture() { |
| 51 } | 51 } |
| 52 | 52 |
| 53 void WindowTreeHostOzone::OnAcceleratedWidgetAvailable( | 53 void WindowTreeHostOzone::OnAcceleratedWidgetAvailable( |
| 54 gfx::AcceleratedWidget widget) { | 54 gfx::AcceleratedWidget widget) { |
| 55 widget_ = widget; | 55 widget_ = widget; |
| 56 CreateCompositor(widget_); | 56 CreateCompositor(widget_); |
| 57 } | 57 } |
| 58 | 58 |
| 59 void WindowTreeHostOzone::OnActivationChanged(bool active) { |
| 60 } |
| 61 |
| 59 ui::EventSource* WindowTreeHostOzone::GetEventSource() { | 62 ui::EventSource* WindowTreeHostOzone::GetEventSource() { |
| 60 return this; | 63 return this; |
| 61 } | 64 } |
| 62 | 65 |
| 63 gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() { | 66 gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() { |
| 64 return widget_; | 67 return widget_; |
| 65 } | 68 } |
| 66 | 69 |
| 67 void WindowTreeHostOzone::Show() { | 70 void WindowTreeHostOzone::Show() { |
| 68 platform_window_->Show(); | 71 platform_window_->Show(); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 return new WindowTreeHostOzone(bounds); | 123 return new WindowTreeHostOzone(bounds); |
| 121 } | 124 } |
| 122 | 125 |
| 123 // static | 126 // static |
| 124 gfx::Size WindowTreeHost::GetNativeScreenSize() { | 127 gfx::Size WindowTreeHost::GetNativeScreenSize() { |
| 125 NOTIMPLEMENTED(); | 128 NOTIMPLEMENTED(); |
| 126 return gfx::Size(); | 129 return gfx::Size(); |
| 127 } | 130 } |
| 128 | 131 |
| 129 } // namespace aura | 132 } // namespace aura |
| OLD | NEW |