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

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.h

Issue 2503563002: Drag-and-drop: updateDragCursor (Closed)
Patch Set: Addressed comments by nick@. Created 4 years, 1 month 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
Index: content/browser/renderer_host/render_widget_host_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index 09cee961abb013eb04e4dbd82beb59e134eb3999..9ca756d03562d2c845660106df4cf610eacddaa9 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -216,6 +216,9 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// fullscreen, and will return nullptr for those cases.
virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const;
+ // Allow the delegate to handle the cursor update. Returns true if handled.
+ virtual bool OnUpdateDragCursor();
+
protected:
virtual ~RenderWidgetHostDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698