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

Issue 945333002: Implement <webview> droplink event (Closed)

Created:
5 years, 10 months ago by Fady Samuel
Modified:
5 years, 10 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, darin-cc_chromium.org, jam, arv+watch_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@cleanup_bpe
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement <webview> droplink event In the Chrome signin page, we expect it to be possible to navigate on dragging URLs from outside of the content area into the content area. In <webview>, we do not wish to navigate the <webview> on link drop but the embedder. Currently navigation on drop is disabled within a <webview>. This CL provides a droplink event that the embedder can listen to and navigate when a link is dropped into a <webview> from outside of its bounds. Note that this behavior is not identical to other Chrome tabs. In other tabs, if a link is dropped onto a drop target, the page will not navigate. In this implementation, any external link drop will fire the droplink event. This is probably not important for the signin page however because no fields expect to take in links there. The plumbing in this patch is less disruptive so I'll leave at that unless there is a pressing need to plumb the navigation decision out of the guest Blink instance and up into the embedder. BUG=460757 Committed: https://crrev.com/bdfc1ad220da363b6569f2a5632f52ff3520aef4 Cr-Commit-Position: refs/heads/master@{#317740}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed Istiaque's comments #

Messages

Total messages: 27 (9 generated)
Fady Samuel
Hi Istiaque, Roger, Could you please take a look? As the description mentions, this behavior ...
5 years, 10 months ago (2015-02-22 06:16:29 UTC) #2
Roger Tawa OOO till Jul 10th
lgtm for the behaviour. I'll let lazyboy review the code.
5 years, 10 months ago (2015-02-23 15:09:34 UTC) #3
lazyboy
https://chromiumcodereview.appspot.com/945333002/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://chromiumcodereview.appspot.com/945333002/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc#newcode683 content/browser/browser_plugin/browser_plugin_guest.cc:683: dragged_url_ = drop_data.url; Just double checking, if the drop ...
5 years, 10 months ago (2015-02-23 17:11:10 UTC) #4
Fady Samuel
PTAL Istiaque https://codereview.chromium.org/945333002/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/945333002/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc#newcode683 content/browser/browser_plugin/browser_plugin_guest.cc:683: dragged_url_ = drop_data.url; On 2015/02/23 17:11:10, lazyboy ...
5 years, 10 months ago (2015-02-23 19:57:07 UTC) #5
lazyboy
lgtm
5 years, 10 months ago (2015-02-23 20:13:08 UTC) #6
Fady Samuel
PTAL Charlie at content/public/browser_plugin_guest_delegate.h change. Thanks!
5 years, 10 months ago (2015-02-23 20:15:25 UTC) #7
Fady Samuel
5 years, 10 months ago (2015-02-23 21:32:10 UTC) #9
Charlie Reis
content/public/browser/browser_plugin_guest_delegate.h LGTM, but one question about the approach: How disruptive will this be if we ...
5 years, 10 months ago (2015-02-23 23:29:50 UTC) #10
Fady Samuel
On 2015/02/23 23:29:50, Charlie Reis wrote: > content/public/browser/browser_plugin_guest_delegate.h LGTM, but one question > about the ...
5 years, 10 months ago (2015-02-23 23:35:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/945333002/20001
5 years, 10 months ago (2015-02-23 23:37:03 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/44871)
5 years, 10 months ago (2015-02-24 00:01:20 UTC) #16
Fady Samuel
+xiyuan@ for authenticator.js
5 years, 10 months ago (2015-02-24 00:03:09 UTC) #18
xiyuan
lgtm
5 years, 10 months ago (2015-02-24 00:04:15 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/945333002/20001
5 years, 10 months ago (2015-02-24 00:06:37 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) Timed out ...
5 years, 10 months ago (2015-02-24 01:38:52 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/945333002/20001
5 years, 10 months ago (2015-02-24 02:00:52 UTC) #25
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-24 02:10:26 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-02-24 02:11:17 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bdfc1ad220da363b6569f2a5632f52ff3520aef4
Cr-Commit-Position: refs/heads/master@{#317740}

Powered by Google App Engine
This is Rietveld 408576698