| 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/root_window_host_ozone.h" | 5 #include "ui/aura/root_window_host_ozone.h" |
| 6 | 6 |
| 7 #include "ui/aura/root_window.h" | 7 #include "ui/aura/root_window.h" |
| 8 | 8 |
| 9 namespace aura { | 9 namespace aura { |
| 10 | 10 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 NOTIMPLEMENTED(); | 98 NOTIMPLEMENTED(); |
| 99 } | 99 } |
| 100 | 100 |
| 101 bool RootWindowHostOzone::CopyAreaToSkCanvas(const gfx::Rect& source_bounds, | 101 bool RootWindowHostOzone::CopyAreaToSkCanvas(const gfx::Rect& source_bounds, |
| 102 const gfx::Point& dest_offset, | 102 const gfx::Point& dest_offset, |
| 103 SkCanvas* canvas) { | 103 SkCanvas* canvas) { |
| 104 NOTIMPLEMENTED(); | 104 NOTIMPLEMENTED(); |
| 105 return false; | 105 return false; |
| 106 } | 106 } |
| 107 | 107 |
| 108 bool RootWindowHostOzone::GrabSnapshot( | |
| 109 const gfx::Rect& snapshot_bounds, | |
| 110 std::vector<unsigned char>* png_representation) { | |
| 111 NOTIMPLEMENTED(); | |
| 112 return false; | |
| 113 } | |
| 114 | |
| 115 void RootWindowHostOzone::PostNativeEvent( | 108 void RootWindowHostOzone::PostNativeEvent( |
| 116 const base::NativeEvent& native_event) { | 109 const base::NativeEvent& native_event) { |
| 117 NOTIMPLEMENTED(); | 110 NOTIMPLEMENTED(); |
| 118 } | 111 } |
| 119 | 112 |
| 120 void RootWindowHostOzone::OnDeviceScaleFactorChanged( | 113 void RootWindowHostOzone::OnDeviceScaleFactorChanged( |
| 121 float device_scale_factor) { | 114 float device_scale_factor) { |
| 122 NOTIMPLEMENTED(); | 115 NOTIMPLEMENTED(); |
| 123 } | 116 } |
| 124 | 117 |
| 125 void RootWindowHostOzone::PrepareForShutdown() { NOTIMPLEMENTED(); } | 118 void RootWindowHostOzone::PrepareForShutdown() { NOTIMPLEMENTED(); } |
| 126 | 119 |
| 127 // static | 120 // static |
| 128 RootWindowHost* RootWindowHost::Create(const gfx::Rect& bounds) { | 121 RootWindowHost* RootWindowHost::Create(const gfx::Rect& bounds) { |
| 129 return new RootWindowHostOzone(bounds); | 122 return new RootWindowHostOzone(bounds); |
| 130 } | 123 } |
| 131 | 124 |
| 132 // static | 125 // static |
| 133 gfx::Size RootWindowHost::GetNativeScreenSize() { | 126 gfx::Size RootWindowHost::GetNativeScreenSize() { |
| 134 NOTIMPLEMENTED(); | 127 NOTIMPLEMENTED(); |
| 135 return gfx::Size(); | 128 return gfx::Size(); |
| 136 } | 129 } |
| 137 | 130 |
| 138 } // namespace aura | 131 } // namespace aura |
| OLD | NEW |