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

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

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 7 months 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_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index d54b2d7d57322c2ff413483ae9fe0fb8ae766c1d..abab90a41f8bf2346afea3d96e94f2d7ee313fe9 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -120,7 +120,8 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
blink::WebDragOperationsMask operations_allowed,
int key_modifiers) override;
void DragTargetDragLeave() override;
- void DragTargetDrop(const gfx::Point& client_pt,
+ void DragTargetDrop(const DropData& drop_data,
+ const gfx::Point& client_pt,
const gfx::Point& screen_pt,
int key_modifiers) override;
void EnableAutoResize(const gfx::Size& min_size,
@@ -345,6 +346,11 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
// files without the user's consent.
void GrantFileAccessFromPageState(const PageState& validated_state);
+ DropData FilterDropData(const DropData& drop_data);
+
+ void GrantPermissionsToDraggedFiles(const DropData& drop_data);
+
+ std::vector<std::string> filesystem_ids_to_grant_permissions_;
dcheng 2016/05/11 01:19:15 Can this just be a local variable? It looks like i
hush (inactive) 2016/05/20 00:01:59 deleted it
// The RenderWidgetHost.
std::unique_ptr<RenderWidgetHostImpl> render_widget_host_;

Powered by Google App Engine
This is Rietveld 408576698