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

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed)

Created:
4 years, 10 months ago by hush (inactive)
Modified:
4 years, 6 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, newt (away), Paweł Hajdan Jr., sgurun-gerrit only, Ted C
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add WebDragData to blink::WebView::dragtargetDrop. Different from Windows/Linux, the drag and drop data on Android is not available when the drag starts. It is only available when the drop is performed (finger releases from touch screen). During DragEnter, the meta data of the drop data will be sent to renderer to construct a WebDragData that contains only this meta data and it will be used by blink. This CL adds a WebDragData parameter to blink WebView::dragTargetDrop. When the dragged data is dropped, the full drop data will be sent to renderer and then to blink. This CL also changes the logic around drop data filtering and permisson granting. Different platforms (Aura, Mac, BrowserPlugin) will filter the drop data before DragEnter, but not Android, because it is not necessary. The filtered drop data will be cached and used at Drop for these platforms except Android. Android logic for drop data will be in a follow up CL. BUG=584789 Committed: https://crrev.com/8915b509e11743c64a473db748181c62ded64258 Cr-Commit-Position: refs/heads/master@{#399989}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Change the existing API instead #

Total comments: 4

Patch Set 4 : add is_valid to dropdata #

Total comments: 1

Patch Set 5 : comments #

Total comments: 10

Patch Set 6 : address some comments #

Patch Set 7 : Send "meta data" of dropData in DragEnter #

Total comments: 4

Patch Set 8 : rebase #

Total comments: 2

Patch Set 9 : rebase #

Patch Set 10 : #

Total comments: 1

Patch Set 11 : fix bug #

Total comments: 8

Patch Set 12 : comments #

Patch Set 13 : rebase #

Total comments: 13

Patch Set 14 : comments #

Total comments: 18

Patch Set 15 : rebase #

Patch Set 16 : rebase #

Total comments: 1

Patch Set 17 : rebase #

Patch Set 18 : address comments #

Total comments: 8

Patch Set 19 : comments #

Total comments: 7

Patch Set 20 : Minimum Filtering At DragEnter time #

Patch Set 21 : Refactor FilterDropData #

Patch Set 22 : fix compile on aura #

Total comments: 20

Patch Set 23 : comments #

Patch Set 24 : rebase #

Patch Set 25 : use static factory methods #

Total comments: 6

Patch Set 26 : comments #

Patch Set 27 : rebase #

Patch Set 28 : fix compilation and tests #

Patch Set 29 : compile #

Patch Set 30 : compile #

Patch Set 31 : add has_url #

Patch Set 32 : fix chromeos compile + interactive test #

Total comments: 4

Patch Set 33 : fix browser plugin guest logic #

Total comments: 2

Patch Set 34 : always reset ignore_dragged_url_ #

Total comments: 1

Patch Set 35 : {} #

Patch Set 36 : dcheng's comment #

Patch Set 37 : rebase #

Total comments: 2

Patch Set 38 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -154 lines) Patch
M chrome/browser/ui/webui/webui_webview_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 3 chunks +6 lines, -6 lines 0 comments Download
M components/test_runner/event_sender.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 5 chunks +16 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +13 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 5 chunks +158 lines, -96 lines 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +6 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_drag_dest_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +3 lines, -3 lines 0 comments Download
M content/common/drag_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +5 lines, -2 lines 0 comments Download
M content/common/drag_traits.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 31 32 33 34 35 2 chunks +9 lines, -0 lines 0 comments Download
M content/public/browser/render_view_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +3 lines, -1 line 0 comments Download
M content/public/common/drop_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +27 lines, -0 lines 0 comments Download
M content/public/common/drop_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 31 32 33 34 35 1 chunk +34 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +10 lines, -7 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 4 chunks +60 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/page/DragController.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/DragData.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/DragData.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebView.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 176 (65 generated)
hush (inactive)
4 years, 10 months ago (2016-02-23 01:40:09 UTC) #1
hush (inactive)
I will upload a follow up CL that makes use of this new blink API ...
4 years, 10 months ago (2016-02-23 01:41:18 UTC) #2
dcheng
On 2016/02/23 at 01:41:18, hush wrote: > I will upload a follow up CL that ...
4 years, 10 months ago (2016-02-23 03:44:02 UTC) #3
hush (inactive)
On 2016/02/23 03:44:02, dcheng wrote: > On 2016/02/23 at 01:41:18, hush wrote: > > I ...
4 years, 10 months ago (2016-02-23 16:57:22 UTC) #5
hush (inactive)
Hello, dcheng@: PTAL content/common/drag_messages.h and third_party/webkit sievers@: PTAL content/renderer
4 years, 10 months ago (2016-02-24 18:50:03 UTC) #7
hush (inactive)
Hi Alex, PTAL!
4 years, 9 months ago (2016-03-01 23:55:56 UTC) #11
hush (inactive)
On 2016/03/01 23:55:56, hush wrote: > Hi Alex, > PTAL! I changed the existing DragTargetDrop ...
4 years, 9 months ago (2016-03-01 23:56:52 UTC) #12
aelias_OOO_until_Jul13
https://codereview.chromium.org/1723763002/diff/60001/content/browser/renderer_host/render_view_host_impl.h File content/browser/renderer_host/render_view_host_impl.h (right): https://codereview.chromium.org/1723763002/diff/60001/content/browser/renderer_host/render_view_host_impl.h#newcode124 content/browser/renderer_host/render_view_host_impl.h:124: bool is_drop_data_valid, How about instead adding a boolean member ...
4 years, 9 months ago (2016-03-02 00:03:19 UTC) #13
hush (inactive)
https://codereview.chromium.org/1723763002/diff/60001/content/browser/renderer_host/render_view_host_impl.h File content/browser/renderer_host/render_view_host_impl.h (right): https://codereview.chromium.org/1723763002/diff/60001/content/browser/renderer_host/render_view_host_impl.h#newcode124 content/browser/renderer_host/render_view_host_impl.h:124: bool is_drop_data_valid, On 2016/03/02 00:03:19, aelias wrote: > How ...
4 years, 9 months ago (2016-03-02 02:35:11 UTC) #14
aelias_OOO_until_Jul13
lgtm https://codereview.chromium.org/1723763002/diff/80001/content/public/common/drop_data.h File content/public/common/drop_data.h (right): https://codereview.chromium.org/1723763002/diff/80001/content/public/common/drop_data.h#newcode41 content/public/common/drop_data.h:41: // Wether this DropData is valid. "Whether this ...
4 years, 9 months ago (2016-03-02 02:53:40 UTC) #15
hush (inactive)
PTAL! lfg: content/browser/browser_plugin avi: content/browser/web_contents/web_drag_dest_mac.mm dcheng: content/common/ sievers: content/public/, content/renderer/
4 years, 9 months ago (2016-03-07 20:35:53 UTC) #18
Avi (use Gerrit)
On 2016/03/07 20:35:53, hush wrote: > PTAL! > lfg: content/browser/browser_plugin > avi: content/browser/web_contents/web_drag_dest_mac.mm > dcheng: ...
4 years, 9 months ago (2016-03-07 20:36:44 UTC) #19
lfg
https://codereview.chromium.org/1723763002/diff/100001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/1723763002/diff/100001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode823 content/browser/browser_plugin/browser_plugin_guest.cc:823: host->DragTargetDrop(DropData(), location, location, 0); Sanity check, why shouldn't we ...
4 years, 9 months ago (2016-03-07 21:07:10 UTC) #20
hush (inactive)
https://codereview.chromium.org/1723763002/diff/100001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/1723763002/diff/100001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode823 content/browser/browser_plugin/browser_plugin_guest.cc:823: host->DragTargetDrop(DropData(), location, location, 0); On 2016/03/07 21:07:10, lfg wrote: ...
4 years, 9 months ago (2016-03-07 21:21:31 UTC) #21
lfg
https://codereview.chromium.org/1723763002/diff/100001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/1723763002/diff/100001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode823 content/browser/browser_plugin/browser_plugin_guest.cc:823: host->DragTargetDrop(DropData(), location, location, 0); On 2016/03/07 21:21:31, hush wrote: ...
4 years, 9 months ago (2016-03-07 21:25:23 UTC) #22
no sievers
lgtm https://codereview.chromium.org/1723763002/diff/100001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/100001/content/browser/renderer_host/render_view_host_impl.cc#newcode713 content/browser/renderer_host/render_view_host_impl.cc:713: // TODO(hush): filter the drop_data if drop data ...
4 years, 9 months ago (2016-03-08 01:22:16 UTC) #24
dcheng
Looking at the drag and drop plumbing, it's going to be awkward to handle the ...
4 years, 9 months ago (2016-03-08 01:44:08 UTC) #25
hush (inactive)
On 2016/03/08 01:44:08, dcheng wrote: > Looking at the drag and drop plumbing, it's going ...
4 years, 9 months ago (2016-03-08 18:21:04 UTC) #26
hush (inactive)
https://codereview.chromium.org/1723763002/diff/100001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/100001/content/browser/renderer_host/render_view_host_impl.cc#newcode713 content/browser/renderer_host/render_view_host_impl.cc:713: // TODO(hush): filter the drop_data if drop data is ...
4 years, 9 months ago (2016-03-08 18:23:06 UTC) #27
hush (inactive)
https://codereview.chromium.org/1723763002/diff/100001/content/public/browser/render_view_host.h File content/public/browser/render_view_host.h (right): https://codereview.chromium.org/1723763002/diff/100001/content/public/browser/render_view_host.h#newcode145 content/public/browser/render_view_host.h:145: virtual void DragTargetDrop(const DropData& drop_data, On 2016/03/08 01:22:15, sievers ...
4 years, 9 months ago (2016-03-08 18:43:39 UTC) #28
dcheng
On 2016/03/08 at 18:21:04, hush wrote: > On 2016/03/08 01:44:08, dcheng wrote: > > Looking ...
4 years, 9 months ago (2016-03-08 18:45:56 UTC) #29
hush (inactive)
On 2016/03/08 18:45:56, dcheng wrote: > On 2016/03/08 at 18:21:04, hush wrote: > > On ...
4 years, 9 months ago (2016-03-09 23:23:40 UTC) #30
hush (inactive)
Hi dcheng@ and aelias@: I looked into a bit more. Creating a separate data type ...
4 years, 9 months ago (2016-03-12 03:35:00 UTC) #31
hush (inactive)
Hello Daniel (dcheng), please take a look at patch set 7. Basically what I did ...
4 years, 9 months ago (2016-03-23 00:54:31 UTC) #33
hush (inactive)
ping..
4 years, 8 months ago (2016-03-28 22:30:05 UTC) #34
dcheng
Apologies for the delay. Overall, I wonder if we can do this without adding things ...
4 years, 8 months ago (2016-03-30 08:40:03 UTC) #35
hush (inactive)
Just updated patch set. Testing in process.. https://codereview.chromium.org/1723763002/diff/160001/content/public/browser/render_view_host.h File content/public/browser/render_view_host.h (right): https://codereview.chromium.org/1723763002/diff/160001/content/public/browser/render_view_host.h#newcode135 content/public/browser/render_view_host.h:135: // available ...
4 years, 8 months ago (2016-04-06 22:47:51 UTC) #37
hush (inactive)
I tested on Linux and on Android (with https://codereview.chromium.org/1728193002/) and it worked. PTAL
4 years, 8 months ago (2016-04-08 20:54:55 UTC) #41
Avi (use Gerrit)
not lgtm https://codereview.chromium.org/1723763002/diff/280001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/280001/content/browser/renderer_host/render_view_host_impl.cc#newcode215 content/browser/renderer_host/render_view_host_impl.cc:215: } For these three loops, you easily ...
4 years, 8 months ago (2016-04-08 21:24:08 UTC) #42
hush (inactive)
https://codereview.chromium.org/1723763002/diff/280001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/280001/content/browser/renderer_host/render_view_host_impl.cc#newcode215 content/browser/renderer_host/render_view_host_impl.cc:215: } On 2016/04/08 21:24:08, Avi wrote: > For these ...
4 years, 8 months ago (2016-04-12 00:07:49 UTC) #44
Avi (use Gerrit)
https://codereview.chromium.org/1723763002/diff/350001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/350001/content/browser/renderer_host/render_view_host_impl.cc#newcode169 content/browser/renderer_host/render_view_host_impl.cc:169: std::vector<MimeTypeKindPair>& meta_data) { Reference parameters aren't allowed for out ...
4 years, 8 months ago (2016-04-12 02:51:51 UTC) #46
hush (inactive)
https://codereview.chromium.org/1723763002/diff/350001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/350001/content/browser/renderer_host/render_view_host_impl.cc#newcode169 content/browser/renderer_host/render_view_host_impl.cc:169: std::vector<MimeTypeKindPair>& meta_data) { On 2016/04/12 02:51:51, Avi wrote: > ...
4 years, 8 months ago (2016-04-12 20:36:58 UTC) #48
Avi (use Gerrit)
lgtm!
4 years, 8 months ago (2016-04-12 20:42:34 UTC) #49
hush (inactive)
ping dcheng@ ..
4 years, 8 months ago (2016-04-18 22:41:39 UTC) #50
dcheng
https://codereview.chromium.org/1723763002/diff/390001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/390001/content/browser/renderer_host/render_view_host_impl.cc#newcode173 content/browser/renderer_host/render_view_host_impl.cc:173: meta_data.push_back(pair); I think it would be appropriate to use ...
4 years, 8 months ago (2016-04-19 06:58:48 UTC) #51
hush (inactive)
https://codereview.chromium.org/1723763002/diff/390001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/390001/content/browser/renderer_host/render_view_host_impl.cc#newcode198 content/browser/renderer_host/render_view_host_impl.cc:198: std::make_pair(base::string16(), FILESYSTEMFILE_KIND); On 2016/04/19 06:58:47, dcheng wrote: > Unfortunately, ...
4 years, 7 months ago (2016-04-28 22:13:27 UTC) #53
dcheng
https://codereview.chromium.org/1723763002/diff/390001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/390001/content/browser/renderer_host/render_view_host_impl.cc#newcode198 content/browser/renderer_host/render_view_host_impl.cc:198: std::make_pair(base::string16(), FILESYSTEMFILE_KIND); On 2016/04/28 at 22:13:26, hush wrote: > ...
4 years, 7 months ago (2016-05-04 05:21:35 UTC) #54
hush (inactive)
https://codereview.chromium.org/1723763002/diff/390001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/390001/content/browser/renderer_host/render_view_host_impl.cc#newcode173 content/browser/renderer_host/render_view_host_impl.cc:173: meta_data.push_back(pair); On 2016/04/19 06:58:47, dcheng wrote: > I think ...
4 years, 7 months ago (2016-05-06 02:25:26 UTC) #57
dcheng
Thanks for updating the CL, just a few more comments. https://codereview.chromium.org/1723763002/diff/510001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/510001/content/browser/renderer_host/render_view_host_impl.cc#newcode641 ...
4 years, 7 months ago (2016-05-10 07:29:09 UTC) #58
hush (inactive)
https://codereview.chromium.org/1723763002/diff/510001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/510001/content/browser/renderer_host/render_view_host_impl.cc#newcode641 content/browser/renderer_host/render_view_host_impl.cc:641: FilterDropData(&filtered_data); On 2016/05/10 07:29:08, dcheng wrote: > Since we ...
4 years, 7 months ago (2016-05-10 21:18:32 UTC) #60
dcheng
https://codereview.chromium.org/1723763002/diff/550001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/550001/content/browser/renderer_host/render_view_host_impl.cc#newcode662 content/browser/renderer_host/render_view_host_impl.cc:662: GrantPermissionsToDraggedFiles(drop_data); We probably still want to filter here, to ...
4 years, 7 months ago (2016-05-11 01:19:15 UTC) #61
hush (inactive)
https://codereview.chromium.org/1723763002/diff/550001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/550001/content/browser/renderer_host/render_view_host_impl.cc#newcode662 content/browser/renderer_host/render_view_host_impl.cc:662: GrantPermissionsToDraggedFiles(drop_data); On 2016/05/11 01:19:15, dcheng wrote: > We probably ...
4 years, 7 months ago (2016-05-12 05:34:48 UTC) #62
hush (inactive)
No new patch set yet. Just responding to comments. Hi Daniel, I gave the double ...
4 years, 7 months ago (2016-05-12 05:47:06 UTC) #63
dcheng
On 2016/05/12 at 05:47:06, hush wrote: > No new patch set yet. Just responding to ...
4 years, 7 months ago (2016-05-13 23:50:38 UTC) #64
hush (inactive)
Just upload patch set 20. I think there might be some confusion about what I ...
4 years, 7 months ago (2016-05-16 23:44:06 UTC) #66
dcheng
On 2016/05/16 at 23:44:06, hush wrote: > Just upload patch set 20. > I think ...
4 years, 7 months ago (2016-05-17 06:19:55 UTC) #67
hush (inactive)
https://codereview.chromium.org/1723763002/diff/550001/content/browser/renderer_host/render_view_host_impl.h File content/browser/renderer_host/render_view_host_impl.h (right): https://codereview.chromium.org/1723763002/diff/550001/content/browser/renderer_host/render_view_host_impl.h#newcode353 content/browser/renderer_host/render_view_host_impl.h:353: std::vector<std::string> filesystem_ids_to_grant_permissions_; On 2016/05/11 01:19:15, dcheng wrote: > Can ...
4 years, 7 months ago (2016-05-20 00:01:59 UTC) #69
hush (inactive)
PTAL. I didn't put "filterDropData" as a function on DropData class because the function needs ...
4 years, 7 months ago (2016-05-20 00:03:47 UTC) #71
dcheng
Looking good. Just a few small suggestions. https://codereview.chromium.org/1723763002/diff/670001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/670001/content/browser/renderer_host/render_view_host_impl.cc#newcode1325 content/browser/renderer_host/render_view_host_impl.cc:1325: DropData RenderViewHostImpl::GrantPermissionsToDropData( ...
4 years, 7 months ago (2016-05-24 05:51:50 UTC) #72
hush (inactive)
https://codereview.chromium.org/1723763002/diff/670001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/670001/content/browser/renderer_host/render_view_host_impl.cc#newcode1325 content/browser/renderer_host/render_view_host_impl.cc:1325: DropData RenderViewHostImpl::GrantPermissionsToDropData( On 2016/05/24 05:51:50, dcheng wrote: > Just ...
4 years, 7 months ago (2016-05-24 20:26:09 UTC) #73
dcheng
https://codereview.chromium.org/1723763002/diff/670001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/1723763002/diff/670001/content/browser/renderer_host/render_view_host_impl.cc#newcode1325 content/browser/renderer_host/render_view_host_impl.cc:1325: DropData RenderViewHostImpl::GrantPermissionsToDropData( On 2016/05/24 at 20:26:08, hush wrote: > ...
4 years, 7 months ago (2016-05-25 00:07:58 UTC) #75
hush (inactive)
rebase
4 years, 7 months ago (2016-05-25 00:09:43 UTC) #76
hush (inactive)
https://codereview.chromium.org/1723763002/diff/670001/content/public/common/drop_data.h File content/public/common/drop_data.h (right): https://codereview.chromium.org/1723763002/diff/670001/content/public/common/drop_data.h#newcode44 content/public/common/drop_data.h:44: MetaData(const DropData::Kind& kind, const base::string16& mime_type); On 2016/05/25 00:07:58, ...
4 years, 7 months ago (2016-05-25 02:31:16 UTC) #79
hush (inactive)
use static factory methods
4 years, 7 months ago (2016-05-25 02:32:10 UTC) #80
dcheng
lgtm with nits. thanks for tackling this and helping to clean this up! https://codereview.chromium.org/1723763002/diff/750001/content/public/common/drop_data.cc File ...
4 years, 7 months ago (2016-05-25 03:25:37 UTC) #81
hush (inactive)
comments
4 years, 7 months ago (2016-05-25 17:15:30 UTC) #82
hush (inactive)
https://codereview.chromium.org/1723763002/diff/750001/content/public/common/drop_data.cc File content/public/common/drop_data.cc (right): https://codereview.chromium.org/1723763002/diff/750001/content/public/common/drop_data.cc#newcode23 content/public/common/drop_data.cc:23: const DropData::Kind& kind, On 2016/05/25 03:25:37, dcheng wrote: > ...
4 years, 7 months ago (2016-05-25 17:17:16 UTC) #84
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/790001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723763002/790001
4 years, 7 months ago (2016-05-25 17:18:29 UTC) #87
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/11263) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-25 17:21:12 UTC) #89
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/810001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723763002/810001
4 years, 7 months ago (2016-05-25 17:39:55 UTC) #92
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/117130)
4 years, 7 months ago (2016-05-25 17:53:55 UTC) #94
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/830001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723763002/830001
4 years, 7 months ago (2016-05-25 18:13:47 UTC) #96
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/233809)
4 years, 7 months ago (2016-05-25 18:27:42 UTC) #98
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/850001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723763002/850001
4 years, 7 months ago (2016-05-25 21:00:07 UTC) #100
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/143314)
4 years, 7 months ago (2016-05-25 21:18:49 UTC) #102
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/870001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723763002/870001
4 years, 7 months ago (2016-05-25 21:53:56 UTC) #107
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/143372) chromeos_x86-generic_chromium_compile_only_ng on ...
4 years, 7 months ago (2016-05-25 22:09:28 UTC) #109
hush (inactive)
hello Paweł, Why is compilation failing on them while other try bots have passed? This ...
4 years, 7 months ago (2016-05-25 22:34:19 UTC) #110
hush (inactive)
Hello dmazzoni and bauerb, PTAL. chrome/browser/ui/webui/webui_webview_browsertest.cc bauerb components/test_runner/event_sender.cc dmazzoni The blink API changed, so these ...
4 years, 7 months ago (2016-05-25 22:43:39 UTC) #112
Bernhard Bauer
Web UI LGTM.
4 years, 7 months ago (2016-05-26 10:44:20 UTC) #113
dmazzoni
lgtm
4 years, 7 months ago (2016-05-26 17:57:37 UTC) #114
hush (inactive)
Hello dcheng@, I am investigating the failure of WebUIWebViewBrowserTest.DragAndDropToInput. And after much debugging, I think ...
4 years, 7 months ago (2016-05-26 23:38:54 UTC) #115
hush (inactive)
so I propose this solution: add "has_url" boolean state to DropData, in this way, DropData ...
4 years, 7 months ago (2016-05-26 23:40:35 UTC) #116
dcheng
Sorry I missed this reply. It feels kind of hacky but I guess that's the ...
4 years, 6 months ago (2016-05-27 08:33:35 UTC) #117
dcheng
Sorry I missed this reply. It feels kind of hacky but I guess that's the ...
4 years, 6 months ago (2016-05-27 08:33:35 UTC) #118
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/910001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723763002/910001
4 years, 6 months ago (2016-05-27 19:10:24 UTC) #121
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/144589)
4 years, 6 months ago (2016-05-27 19:28:56 UTC) #123
lfg
On 2016/05/27 08:33:35, dcheng wrote: > Sorry I missed this reply. It feels kind of ...
4 years, 6 months ago (2016-05-27 21:45:15 UTC) #124
dcheng
I guess it might affect other plugins too. Maybe we need to make it so ...
4 years, 6 months ago (2016-05-27 21:51:46 UTC) #125
dcheng
I guess it might affect other plugins too. Maybe we need to make it so ...
4 years, 6 months ago (2016-05-27 21:51:46 UTC) #126
hush (inactive)
On 2016/05/27 21:51:46, dcheng wrote: > I guess it might affect other plugins too. Maybe ...
4 years, 6 months ago (2016-05-27 21:53:19 UTC) #127
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/930001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1723763002/930001
4 years, 6 months ago (2016-05-27 22:43:59 UTC) #129
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-28 00:32:06 UTC) #131
hush (inactive)
Hello dcheng@, PTAL patch set 32. It changed somewhat significantly after your lgtm.
4 years, 6 months ago (2016-05-31 18:26:16 UTC) #132
lfg
This will also change the behavior of BrowserPluginGuest::EndSystemDragIfApplicable, I've looked through the history and this ...
4 years, 6 months ago (2016-05-31 21:30:42 UTC) #134
lazyboy
https://codereview.chromium.org/1723763002/diff/930001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/1723763002/diff/930001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode821 content/browser/browser_plugin/browser_plugin_guest.cc:821: if (!embedder->DragEnteredGuest(this)) Hmm, this doesn't seem quite right, at ...
4 years, 6 months ago (2016-05-31 22:21:22 UTC) #135
hush (inactive)
hello lazyboy@ and lfg@, PTAL https://codereview.chromium.org/1723763002/diff/930001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/1723763002/diff/930001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode821 content/browser/browser_plugin/browser_plugin_guest.cc:821: if (!embedder->DragEnteredGuest(this)) On 2016/05/31 ...
4 years, 6 months ago (2016-06-04 01:41:45 UTC) #136
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/950001
4 years, 6 months ago (2016-06-04 01:42:17 UTC) #138
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-04 03:29:11 UTC) #140
lazyboy
One more q, otherwise looks good. https://codereview.chromium.org/1723763002/diff/950001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/1723763002/diff/950001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode832 content/browser/browser_plugin/browser_plugin_guest.cc:832: ignore_dragged_url_ = false; ...
4 years, 6 months ago (2016-06-04 04:52:38 UTC) #141
hush (inactive)
https://codereview.chromium.org/1723763002/diff/950001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/1723763002/diff/950001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode832 content/browser/browser_plugin/browser_plugin_guest.cc:832: ignore_dragged_url_ = false; On 2016/06/04 04:52:38, lazyboy wrote: > ...
4 years, 6 months ago (2016-06-06 17:42:24 UTC) #143
lazyboy
browser_plugin_guest.cc lgtm, thanks.
4 years, 6 months ago (2016-06-06 17:58:54 UTC) #144
lfg
lgtm https://codereview.chromium.org/1723763002/diff/990001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/1723763002/diff/990001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode812 content/browser/browser_plugin/browser_plugin_guest.cc:812: if (!embedder->DragEnteredGuest(this)) { nit: no need for {}
4 years, 6 months ago (2016-06-06 18:00:38 UTC) #145
lfg
lgtm https://codereview.chromium.org/1723763002/diff/990001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/1723763002/diff/990001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode812 content/browser/browser_plugin/browser_plugin_guest.cc:812: if (!embedder->DragEnteredGuest(this)) { nit: no need for {}
4 years, 6 months ago (2016-06-06 18:00:41 UTC) #146
hush (inactive)
On 2016/06/06 18:00:41, lfg wrote: > lgtm > > https://codereview.chromium.org/1723763002/diff/990001/content/browser/browser_plugin/browser_plugin_guest.cc > File content/browser/browser_plugin/browser_plugin_guest.cc (right): > ...
4 years, 6 months ago (2016-06-06 21:22:34 UTC) #147
hush (inactive)
ping? dcheng@
4 years, 6 months ago (2016-06-06 21:23:22 UTC) #148
dcheng
Sorry about the delayed reply. I'm a bit confused about the direction this CL is ...
4 years, 6 months ago (2016-06-09 07:24:46 UTC) #149
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/1030001
4 years, 6 months ago (2016-06-14 21:38:33 UTC) #151
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/1050001
4 years, 6 months ago (2016-06-14 21:47:54 UTC) #154
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/219034) mac_chromium_gn_rel on ...
4 years, 6 months ago (2016-06-14 21:51:44 UTC) #156
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/1070001
4 years, 6 months ago (2016-06-14 22:03:14 UTC) #159
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) ...
4 years, 6 months ago (2016-06-15 00:04:46 UTC) #161
hush (inactive)
hello dcheng@, PTAL patch set 36
4 years, 6 months ago (2016-06-15 02:47:09 UTC) #162
hush (inactive)
the gist of the change happens in content/renderer/drop_data_builder.cc, which is used by browser plugins, to ...
4 years, 6 months ago (2016-06-15 02:59:13 UTC) #163
dcheng
LGTM with comment addressed. https://codereview.chromium.org/1723763002/diff/1070001/content/renderer/drop_data_builder.cc File content/renderer/drop_data_builder.cc (right): https://codereview.chromium.org/1723763002/diff/1070001/content/renderer/drop_data_builder.cc#newcode40 content/renderer/drop_data_builder.cc:40: // The url in WebDragData ...
4 years, 6 months ago (2016-06-15 12:00:39 UTC) #164
hush (inactive)
https://codereview.chromium.org/1723763002/diff/1070001/content/renderer/drop_data_builder.cc File content/renderer/drop_data_builder.cc (right): https://codereview.chromium.org/1723763002/diff/1070001/content/renderer/drop_data_builder.cc#newcode40 content/renderer/drop_data_builder.cc:40: // The url in WebDragData received could be empty ...
4 years, 6 months ago (2016-06-15 18:02:59 UTC) #166
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/1090001
4 years, 6 months ago (2016-06-15 18:03:24 UTC) #167
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-15 19:24:12 UTC) #169
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1723763002/1090001
4 years, 6 months ago (2016-06-15 19:26:26 UTC) #172
commit-bot: I haz the power
Committed patchset #38 (id:1090001)
4 years, 6 months ago (2016-06-15 19:32:42 UTC) #174
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 19:34:54 UTC) #176
Message was sent while issue was closed.
Patchset 38 (id:??) landed as
https://crrev.com/8915b509e11743c64a473db748181c62ded64258
Cr-Commit-Position: refs/heads/master@{#399989}

Powered by Google App Engine
This is Rietveld 408576698