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

Issue 12938013: Remove dead method WebContents::ShouldAcceptDragAndDrop (Closed)

Created:
7 years, 9 months ago by dcheng
Modified:
7 years, 9 months ago
Reviewers:
jam, Jói
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, xiyuan, zel
Visibility:
Public.

Description

Remove dead method WebContents::ShouldAcceptDragAndDrop This method is no longer used. It was originally intended to prevent drag and drop operations on popup windows and panels on CrOS from triggering navigation operations in a new tab. Unfortunately, this is not the correct way to fix the problem anyway; if this method were actually used, it would prevent *all* drag and drop from working in the popup/panel window. The correct fix is to plumb through the relevant drag and drop policy to WebKit so the renderer knows not to initiate a navigation. BUG=none TBR=jam Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190045

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -16 lines) Patch
M content/browser/web_contents/web_contents_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M content/public/browser/web_contents.h View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
dcheng
7 years, 9 months ago (2013-03-22 21:43:49 UTC) #1
Jói
LGTM, but note you will need to TBR to someone from content/browser/OWNERS or content/OWNERS as ...
7 years, 9 months ago (2013-03-23 08:39:24 UTC) #2
dcheng
7 years, 9 months ago (2013-03-23 17:44:41 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r190045 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698