OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <Cocoa/Cocoa.h> | 5 #include <Cocoa/Cocoa.h> |
6 | 6 |
7 #include "ui/aura/window_tree_host_mac.h" | 7 #include "ui/aura/window_tree_host_mac.h" |
8 #include "ui/aura/window_tree_host.h" | 8 #include "ui/aura/window_tree_host.h" |
9 | 9 |
10 namespace aura { | 10 namespace aura { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 } | 93 } |
94 | 94 |
95 void WindowTreeHostMac::PostNativeEvent(const base::NativeEvent& event) { | 95 void WindowTreeHostMac::PostNativeEvent(const base::NativeEvent& event) { |
96 NOTIMPLEMENTED(); | 96 NOTIMPLEMENTED(); |
97 } | 97 } |
98 | 98 |
99 void WindowTreeHostMac::OnDeviceScaleFactorChanged(float device_scale_factor) { | 99 void WindowTreeHostMac::OnDeviceScaleFactorChanged(float device_scale_factor) { |
100 NOTIMPLEMENTED(); | 100 NOTIMPLEMENTED(); |
101 } | 101 } |
102 | 102 |
| 103 void WindowTreeHostMac::PrepareForShutdown() { |
| 104 NOTIMPLEMENTED(); |
| 105 } |
| 106 |
103 // static | 107 // static |
104 WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { | 108 WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { |
105 return new WindowTreeHostMac(bounds); | 109 return new WindowTreeHostMac(bounds); |
106 } | 110 } |
107 | 111 |
108 // static | 112 // static |
109 gfx::Size WindowTreeHost::GetNativeScreenSize() { | 113 gfx::Size WindowTreeHost::GetNativeScreenSize() { |
110 NOTIMPLEMENTED(); | 114 NOTIMPLEMENTED(); |
111 return gfx::Size(1024, 768); | 115 return gfx::Size(1024, 768); |
112 } | 116 } |
113 | 117 |
114 } // namespace aura | 118 } // namespace aura |
OLD | NEW |