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

Unified Diff: content/public/browser/render_widget_host.h

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/common/cursors/webcursor_unittest.cc ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_widget_host.h
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index 2ae1a08e1b52b0d6116fd7d3c4a1d815c5c17ddd..f2f435042fce3725205731781410f8663a495ec1 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -27,6 +27,7 @@ class WebMouseWheelEvent;
namespace content {
+struct CursorInfo;
class RenderProcessHost;
class RenderWidgetHostIterator;
class RenderWidgetHostView;
@@ -263,6 +264,9 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
// Filters drop data before it is passed to RenderWidgetHost.
virtual void FilterDropData(DropData* drop_data) {}
+
+ // Sets cursor to a specified one when it is over this widget.
+ virtual void SetCursor(const CursorInfo& cursor_info) {}
};
} // namespace content
« no previous file with comments | « content/common/cursors/webcursor_unittest.cc ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698