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

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

Issue 2485693003: Drag-and-drop: DragEnter, DragOver, DragLeave, DragDrop (Closed)
Patch Set: No longer using GetSiteInstance() in RenderWidgetHostImpl. 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/public/browser/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index fd4c02943b5e093a7943d20f9fc276a66f69af65..06215f34f3ef442198970f94d36ad1b42845d865 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -115,29 +115,7 @@ class CONTENT_EXPORT RenderViewHost : public IPC::Sender {
// This allows the renderer to reset some state.
virtual void DragSourceSystemDragEnded() = 0;
- // D&d drop target messages that get sent to WebKit.
- virtual void DragTargetDragEnter(
- const DropData& drop_data,
- const gfx::Point& client_pt,
- const gfx::Point& screen_pt,
- blink::WebDragOperationsMask operations_allowed,
- int key_modifiers) = 0;
- virtual void DragTargetDragEnterWithMetaData(
- const std::vector<DropData::Metadata>& metadata,
- const gfx::Point& client_pt,
- const gfx::Point& screen_pt,
- blink::WebDragOperationsMask operations_allowed,
- int key_modifiers) = 0;
- virtual void DragTargetDragOver(
- const gfx::Point& client_pt,
- const gfx::Point& screen_pt,
- blink::WebDragOperationsMask operations_allowed,
- int key_modifiers) = 0;
- virtual void DragTargetDragLeave() = 0;
- virtual void DragTargetDrop(const DropData& drop_data,
- const gfx::Point& client_pt,
- const gfx::Point& screen_pt,
- int key_modifiers) = 0;
+ // Filters drop data before it is passed to RenderWidgetHostImpl.
virtual void FilterDropData(DropData* drop_data) = 0;
dcheng 2016/11/09 20:23:17 Does it make sense to move this somewhere else?
paulmeyer 2016/11/09 23:19:11 Yes, I'll move it into RenderWidgetHost now.
// Instructs the RenderView to automatically resize and send back updates

Powered by Google App Engine
This is Rietveld 408576698