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" | |
9 #include "ui/ozone/public/ozone_platform.h" | 8 #include "ui/ozone/public/ozone_platform.h" |
10 #include "ui/platform_window/platform_window.h" | 9 #include "ui/platform_window/platform_window.h" |
11 | 10 |
12 namespace aura { | 11 namespace aura { |
13 | 12 |
14 WindowTreeHostOzone::WindowTreeHostOzone(const gfx::Rect& bounds) | 13 WindowTreeHostOzone::WindowTreeHostOzone(const gfx::Rect& bounds) |
15 : widget_(gfx::kNullAcceleratedWidget) { | 14 : widget_(gfx::kNullAcceleratedWidget) { |
16 platform_window_ = | 15 platform_window_ = |
17 ui::OzonePlatform::GetInstance()->CreatePlatformWindow(this, bounds); | 16 ui::OzonePlatform::GetInstance()->CreatePlatformWindow(this, bounds); |
18 } | 17 } |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 return new WindowTreeHostOzone(bounds); | 114 return new WindowTreeHostOzone(bounds); |
116 } | 115 } |
117 | 116 |
118 // static | 117 // static |
119 gfx::Size WindowTreeHost::GetNativeScreenSize() { | 118 gfx::Size WindowTreeHost::GetNativeScreenSize() { |
120 NOTIMPLEMENTED(); | 119 NOTIMPLEMENTED(); |
121 return gfx::Size(); | 120 return gfx::Size(); |
122 } | 121 } |
123 | 122 |
124 } // namespace aura | 123 } // namespace aura |
OLD | NEW |