OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/remote_root_window_host_win.h" | 5 #include "ui/aura/remote_root_window_host_win.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 bool RemoteRootWindowHostWin::GrabSnapshot( | 155 bool RemoteRootWindowHostWin::GrabSnapshot( |
156 const gfx::Rect& snapshot_bounds, | 156 const gfx::Rect& snapshot_bounds, |
157 std::vector<unsigned char>* png_representation) { | 157 std::vector<unsigned char>* png_representation) { |
158 NOTIMPLEMENTED(); | 158 NOTIMPLEMENTED(); |
159 return false; | 159 return false; |
160 } | 160 } |
161 | 161 |
162 void RemoteRootWindowHostWin::UnConfineCursor() { | 162 void RemoteRootWindowHostWin::UnConfineCursor() { |
163 } | 163 } |
164 | 164 |
165 void RemoteRootWindowHostWin::OnCursorVisibilityChanged(bool show) { | 165 void RemoteRootWindowHostWin::OnCursorEnableStateChanged(bool enabled) { |
166 NOTIMPLEMENTED(); | 166 NOTIMPLEMENTED(); |
167 } | 167 } |
168 | 168 |
169 void RemoteRootWindowHostWin::MoveCursorTo(const gfx::Point& location) { | 169 void RemoteRootWindowHostWin::MoveCursorTo(const gfx::Point& location) { |
170 } | 170 } |
171 | 171 |
172 void RemoteRootWindowHostWin::SetFocusWhenShown(bool focus_when_shown) { | 172 void RemoteRootWindowHostWin::SetFocusWhenShown(bool focus_when_shown) { |
173 NOTIMPLEMENTED(); | 173 NOTIMPLEMENTED(); |
174 } | 174 } |
175 | 175 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 int32 y, | 264 int32 y, |
265 uint64 timestamp) { | 265 uint64 timestamp) { |
266 ui::TouchEvent event(ui::ET_TOUCH_MOVED, | 266 ui::TouchEvent event(ui::ET_TOUCH_MOVED, |
267 gfx::Point(x, y), | 267 gfx::Point(x, y), |
268 kRemoteWindowTouchId, | 268 kRemoteWindowTouchId, |
269 base::TimeDelta::FromMicroseconds(timestamp)); | 269 base::TimeDelta::FromMicroseconds(timestamp)); |
270 delegate_->OnHostTouchEvent(&event); | 270 delegate_->OnHostTouchEvent(&event); |
271 } | 271 } |
272 | 272 |
273 } // namespace aura | 273 } // namespace aura |
OLD | NEW |