| Index: content/browser/renderer_host/render_widget_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
|
| index 1d319b166ab7159cad0d508ebf317f2702b22622..e65d9a422332f0af423d44d9af82f3d2b832fb54 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.h
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.h
|
| @@ -174,6 +174,24 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
|
| RenderWidgetHost::InputEventObserver* observer) override;
|
| void GetScreenInfo(content::ScreenInfo* result) override;
|
| void HandleCompositorProto(const std::vector<uint8_t>& proto) override;
|
| + // |drop_data| must have been filtered. The embedder should call
|
| + // FilterDropData before passing the drop data to RWHI.
|
| + void DragTargetDragEnter(const DropData& drop_data,
|
| + const gfx::Point& client_pt,
|
| + const gfx::Point& screen_pt,
|
| + blink::WebDragOperationsMask operations_allowed,
|
| + int key_modifiers) override;
|
| + void DragTargetDragOver(const gfx::Point& client_pt,
|
| + const gfx::Point& screen_pt,
|
| + blink::WebDragOperationsMask operations_allowed,
|
| + int key_modifiers) override;
|
| + void DragTargetDragLeave() override;
|
| + // |drop_data| must have been filtered. The embedder should call
|
| + // FilterDropData before passing the drop data to RWHI.
|
| + void DragTargetDrop(const DropData& drop_data,
|
| + const gfx::Point& client_pt,
|
| + const gfx::Point& screen_pt,
|
| + int key_modifiers) override;
|
|
|
| // Notification that the screen info has changed.
|
| void NotifyScreenInfoChanged();
|
| @@ -667,6 +685,12 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
|
| int snapshot_id,
|
| scoped_refptr<base::RefCountedBytes> png_data);
|
|
|
| + // 1. Grants permissions to URL (if any)
|
| + // 2. Grants permissions to filenames
|
| + // 3. Grants permissions to file system files.
|
| + // 4. Register the files with the IsolatedContext.
|
| + void GrantFileAccessFromDropData(DropData* drop_data);
|
| +
|
| // true if a renderer has once been valid. We use this flag to display a sad
|
| // tab only when we lose our renderer and not if a paint occurs during
|
| // initialization.
|
|
|