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

Unified Diff: content/renderer/cursor_utils.cc

Issue 2808763009: Allow content embedder to set a cursor for RenderWidgetHost (Closed)
Patch Set: comment Created 3 years, 8 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 | « content/public/common/cursor_info.h ('k') | tools/ipc_fuzzer/fuzzer/fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/cursor_utils.cc
diff --git a/content/renderer/cursor_utils.cc b/content/renderer/cursor_utils.cc
index df8e3ff7dd255bb3f06322d218a7259972623140..fe40ae3ef5788d32f4d22d1935104e4ba11f4464 100644
--- a/content/renderer/cursor_utils.cc
+++ b/content/renderer/cursor_utils.cc
@@ -14,7 +14,7 @@ namespace content {
bool GetWebCursorInfo(const WebCursor& cursor,
WebCursorInfo* web_cursor_info) {
- WebCursor::CursorInfo cursor_info;
+ CursorInfo cursor_info;
cursor.GetCursorInfo(&cursor_info);
web_cursor_info->type = cursor_info.type;
@@ -26,7 +26,7 @@ bool GetWebCursorInfo(const WebCursor& cursor,
void InitializeCursorFromWebCursorInfo(WebCursor* cursor,
const WebCursorInfo& web_cursor_info) {
- WebCursor::CursorInfo cursor_info;
+ CursorInfo cursor_info;
cursor_info.type = web_cursor_info.type;
cursor_info.image_scale_factor = web_cursor_info.image_scale_factor;
cursor_info.hotspot = web_cursor_info.hot_spot;
« no previous file with comments | « content/public/common/cursor_info.h ('k') | tools/ipc_fuzzer/fuzzer/fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698