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

Issue 546073003: Embedded Extension Options: Open all external links in a new tab (Closed)

Created:
6 years, 3 months ago by ericzeng
Modified:
6 years, 3 months ago
Reviewers:
Fady Samuel
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Embedded Extension Options: Open all external links in a new tab Implement WebContentsDelegate::OpenURLFromTab in ExtensionOptionsGuest to handle links that do not have the target=_blank attribute. Force all links to URLs outside of the extension to be opened in a new tab. This also handles <meta> redirects and setting window.location from the options page by opening them in a new tab. BUG=409344 Committed: https://crrev.com/3b21259d93fdc6cd23ede873b15468bd35a047bf Cr-Commit-Position: refs/heads/master@{#293612}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M chrome/browser/guest_view/extension_options/extension_options_guest.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/guest_view/extension_options/extension_options_guest.cc View 1 2 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
ericzeng
PTAL
6 years, 3 months ago (2014-09-05 20:32:59 UTC) #2
Fady Samuel
LGTM with nits. https://codereview.chromium.org/546073003/diff/1/chrome/browser/guest_view/extension_options/extension_options_guest.cc File chrome/browser/guest_view/extension_options/extension_options_guest.cc (right): https://codereview.chromium.org/546073003/diff/1/chrome/browser/guest_view/extension_options/extension_options_guest.cc#newcode165 chrome/browser/guest_view/extension_options/extension_options_guest.cc:165: if ((!params.url.SchemeIs(extensions::kExtensionScheme) || Some comments describing ...
6 years, 3 months ago (2014-09-05 21:11:57 UTC) #3
ericzeng
https://codereview.chromium.org/546073003/diff/1/chrome/browser/guest_view/extension_options/extension_options_guest.cc File chrome/browser/guest_view/extension_options/extension_options_guest.cc (right): https://codereview.chromium.org/546073003/diff/1/chrome/browser/guest_view/extension_options/extension_options_guest.cc#newcode165 chrome/browser/guest_view/extension_options/extension_options_guest.cc:165: if ((!params.url.SchemeIs(extensions::kExtensionScheme) || On 2014/09/05 21:11:57, Fady Samuel wrote: ...
6 years, 3 months ago (2014-09-05 21:17:19 UTC) #4
Fady Samuel
https://codereview.chromium.org/546073003/diff/1/chrome/browser/guest_view/extension_options/extension_options_guest.cc File chrome/browser/guest_view/extension_options/extension_options_guest.cc (right): https://codereview.chromium.org/546073003/diff/1/chrome/browser/guest_view/extension_options/extension_options_guest.cc#newcode167 chrome/browser/guest_view/extension_options/extension_options_guest.cc:167: params.disposition == CURRENT_TAB) { On 2014/09/05 21:17:19, ericzeng wrote: ...
6 years, 3 months ago (2014-09-05 21:18:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/546073003/20001
6 years, 3 months ago (2014-09-05 21:19:48 UTC) #7
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 03:22:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/546073003/20001
6 years, 3 months ago (2014-09-06 03:24:35 UTC) #11
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 09:28:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/546073003/20001
6 years, 3 months ago (2014-09-06 13:20:34 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001) as a1df6cb89853ac22b8b63a0aeb7e337aa2a95da8
6 years, 3 months ago (2014-09-06 13:21:58 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:42:24 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3b21259d93fdc6cd23ede873b15468bd35a047bf
Cr-Commit-Position: refs/heads/master@{#293612}

Powered by Google App Engine
This is Rietveld 408576698