Chromium Code Reviews| 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 b75fd878a25de9a1f4641c3480a5ec0925d99ebc..d1a154fdc0d773199b15f0cec94bd23f044712d0 100644 |
| --- a/content/public/browser/render_widget_host.h |
| +++ b/content/public/browser/render_widget_host.h |
| @@ -259,6 +259,27 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender { |
| // Sends a compositor proto to the render widget. |
| virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0; |
| + |
| + // Drag-and-drop drop target messages that get sent to Blink. |
| + 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 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. |
|
nasko
2016/11/10 17:33:16
nit: Since this is content/public, drop the Impl p
paulmeyer
2016/11/11 23:26:48
Done.
|
| + virtual void FilterDropData(DropData* drop_data) = 0; |
| }; |
| } // namespace content |