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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 9463003: aura-x11: Add custom web cursor support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: x custom cursor cache Created 8 years, 10 months 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/aura/root_window.h » ('j') | ui/aura/root_window.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 88983f89948d4adfcbc6d10eb8ff694505c5adbf..8ceae78d2a538d8e6dd2376319d3cd74b848c5a3 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -997,7 +997,10 @@ void RenderWidgetHostViewAura::UpdateCursorIfOverSelf() {
if (is_loading_ && cursor == aura::kCursorPointer)
cursor = aura::kCursorProgress;
- root_window->SetCursor(cursor);
+ if (cursor == aura::kCursorCustom)
+ root_window->SetCustomCursor(current_cursor_.GetPlatformCursor());
+ else
+ root_window->SetCursor(cursor);
}
ui::InputMethod* RenderWidgetHostViewAura::GetInputMethod() const {
« no previous file with comments | « no previous file | ui/aura/root_window.h » ('j') | ui/aura/root_window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698