| 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..2c6c7c36c174c70f5248c7110d2e0a2579be0b3d 100644
|
| --- a/content/public/browser/render_widget_host.h
|
| +++ b/content/public/browser/render_widget_host.h
|
| @@ -259,6 +259,33 @@ 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) {}
|
| + 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) {};
|
| + virtual void DragTargetDragOver(
|
| + const gfx::Point& client_pt,
|
| + const gfx::Point& screen_pt,
|
| + blink::WebDragOperationsMask operations_allowed,
|
| + int key_modifiers) {}
|
| + virtual void DragTargetDragLeave() {}
|
| + virtual void DragTargetDrop(const DropData& drop_data,
|
| + const gfx::Point& client_pt,
|
| + const gfx::Point& screen_pt,
|
| + int key_modifiers) {}
|
| +
|
| + // Filters drop data before it is passed to RenderWidgetHost.
|
| + virtual void FilterDropData(DropData* drop_data) {}
|
| };
|
|
|
| } // namespace content
|
|
|