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

Unified Diff: content/browser/frame_host/interstitial_page_impl.cc

Issue 2505113002: Drag-and-drop: Target drag messages to specific RenderWidgets. (Closed)
Patch Set: Small fix. 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/browser/frame_host/interstitial_page_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
index c8d1166e65bbf5b89df8d70d6335c6a70c259e23..4fbe4425e62aba3e3ac58ab17463403e05b4a798 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -78,7 +78,8 @@ class InterstitialPageImpl::InterstitialPageRVHDelegateView
WebDragOperationsMask operations_allowed,
const gfx::ImageSkia& image,
const gfx::Vector2d& image_offset,
- const DragEventSourceInfo& event_info) override;
+ const DragEventSourceInfo& event_info,
+ RenderWidgetHostImpl* source_rwh) override;
void UpdateDragCursor(WebDragOperation operation) override;
void GotFocus() override;
void TakeFocus(bool reverse) override;
@@ -883,7 +884,8 @@ void InterstitialPageImpl::InterstitialPageRVHDelegateView::StartDragging(
WebDragOperationsMask allowed_operations,
const gfx::ImageSkia& image,
const gfx::Vector2d& image_offset,
- const DragEventSourceInfo& event_info) {
+ const DragEventSourceInfo& event_info,
+ RenderWidgetHostImpl* source_rwh) {
interstitial_page_->render_view_host_->GetWidget()->
DragSourceSystemDragEnded();
DVLOG(1) << "InterstitialPage does not support dragging yet.";

Powered by Google App Engine
This is Rietveld 408576698