| 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 | |
| 62 ui::EventSource* WindowTreeHostOzone::GetEventSource() { | 59 ui::EventSource* WindowTreeHostOzone::GetEventSource() { |
| 63 return this; | 60 return this; |
| 64 } | 61 } |
| 65 | 62 |
| 66 gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() { | 63 gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() { |
| 67 return widget_; | 64 return widget_; |
| 68 } | 65 } |
| 69 | 66 |
| 70 void WindowTreeHostOzone::Show() { | 67 void WindowTreeHostOzone::Show() { |
| 71 platform_window_->Show(); | 68 platform_window_->Show(); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 return new WindowTreeHostOzone(bounds); | 120 return new WindowTreeHostOzone(bounds); |
| 124 } | 121 } |
| 125 | 122 |
| 126 // static | 123 // static |
| 127 gfx::Size WindowTreeHost::GetNativeScreenSize() { | 124 gfx::Size WindowTreeHost::GetNativeScreenSize() { |
| 128 NOTIMPLEMENTED(); | 125 NOTIMPLEMENTED(); |
| 129 return gfx::Size(); | 126 return gfx::Size(); |
| 130 } | 127 } |
| 131 | 128 |
| 132 } // namespace aura | 129 } // namespace aura |
| OLD | NEW |