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

Unified Diff: ui/aura/remote_root_window_host_win.cc

Issue 11446078: Add suport for changing cursors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/metro_viewer/metro_viewer_messages.h » ('j') | win8/metro_driver/chrome_app_view_ash.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/remote_root_window_host_win.cc
===================================================================
--- ui/aura/remote_root_window_host_win.cc (revision 171648)
+++ ui/aura/remote_root_window_host_win.cc (working copy)
@@ -112,6 +112,10 @@
}
void RemoteRootWindowHostWin::SetCursor(gfx::NativeCursor native_cursor) {
+ if (!host_)
+ return;
+ host_->Send(
+ new MetroViewerHostMsg_SetCursor(uint64(native_cursor.platform())));
}
void RemoteRootWindowHostWin::SetCapture() {
« no previous file with comments | « no previous file | ui/metro_viewer/metro_viewer_messages.h » ('j') | win8/metro_driver/chrome_app_view_ash.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698