Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: ui/aura/remote_root_window_host_win.cc

Issue 11412315: Make the cursor have separate mode for disabled mouse events and invisible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698