| 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 "mojo/aura/window_tree_host_mojo.h" | 5 #include "mojo/aura/window_tree_host_mojo.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "mojo/aura/window_tree_host_mojo_delegate.h" | 9 #include "mojo/aura/window_tree_host_mojo_delegate.h" |
| 10 #include "ui/aura/env.h" | 10 #include "ui/aura/env.h" |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 void WindowTreeHostMojo::ReleaseCapture() { | 131 void WindowTreeHostMojo::ReleaseCapture() { |
| 132 NOTIMPLEMENTED(); | 132 NOTIMPLEMENTED(); |
| 133 } | 133 } |
| 134 | 134 |
| 135 void WindowTreeHostMojo::PostNativeEvent( | 135 void WindowTreeHostMojo::PostNativeEvent( |
| 136 const base::NativeEvent& native_event) { | 136 const base::NativeEvent& native_event) { |
| 137 NOTIMPLEMENTED(); | 137 NOTIMPLEMENTED(); |
| 138 } | 138 } |
| 139 | 139 |
| 140 void WindowTreeHostMojo::OnDeviceScaleFactorChanged( | |
| 141 float device_scale_factor) { | |
| 142 NOTIMPLEMENTED(); | |
| 143 } | |
| 144 | |
| 145 void WindowTreeHostMojo::SetCursorNative(gfx::NativeCursor cursor) { | 140 void WindowTreeHostMojo::SetCursorNative(gfx::NativeCursor cursor) { |
| 146 NOTIMPLEMENTED(); | 141 NOTIMPLEMENTED(); |
| 147 } | 142 } |
| 148 | 143 |
| 149 void WindowTreeHostMojo::MoveCursorToNative(const gfx::Point& location) { | 144 void WindowTreeHostMojo::MoveCursorToNative(const gfx::Point& location) { |
| 150 NOTIMPLEMENTED(); | 145 NOTIMPLEMENTED(); |
| 151 } | 146 } |
| 152 | 147 |
| 153 void WindowTreeHostMojo::OnCursorVisibilityChangedNative(bool show) { | 148 void WindowTreeHostMojo::OnCursorVisibilityChangedNative(bool show) { |
| 154 NOTIMPLEMENTED(); | 149 NOTIMPLEMENTED(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 169 const gfx::Rect& old_bounds, | 164 const gfx::Rect& old_bounds, |
| 170 const gfx::Rect& new_bounds) { | 165 const gfx::Rect& new_bounds) { |
| 171 bounds_ = new_bounds; | 166 bounds_ = new_bounds; |
| 172 if (old_bounds.origin() != new_bounds.origin()) | 167 if (old_bounds.origin() != new_bounds.origin()) |
| 173 OnHostMoved(bounds_.origin()); | 168 OnHostMoved(bounds_.origin()); |
| 174 if (old_bounds.size() != new_bounds.size()) | 169 if (old_bounds.size() != new_bounds.size()) |
| 175 OnHostResized(bounds_.size()); | 170 OnHostResized(bounds_.size()); |
| 176 } | 171 } |
| 177 | 172 |
| 178 } // namespace mojo | 173 } // namespace mojo |
| OLD | NEW |