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

Issue 2955503002: Make interstitial links open in a new tab (Closed)

Created:
3 years, 6 months ago by sperigo
Modified:
3 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, lgarron
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make interstitial links open in a new tab BUG=717616 https: //badssl.com and make sure that the various info links open in a Review-Url: https://codereview.chromium.org/2955503002 Cr-Commit-Position: refs/heads/master@{#483231} Committed: https://chromium.googlesource.com/chromium/src/+/a22cb4d1b1f6afc95aba0eb04246c13fe178697e

Patch Set 1 #

Patch Set 2 : Fix build errors #

Patch Set 3 : Add working test #

Patch Set 4 : Rebase CL #

Patch Set 5 : Rebase CL #

Total comments: 22

Patch Set 6 : iOS implementation of refactor #

Patch Set 7 : Addressing CL comments and more refactoring #

Patch Set 8 : Addressing CL comments #

Patch Set 9 : Remove unnecessary comment #

Patch Set 10 : Fix broken test #

Patch Set 11 : Fix VisitWhitePaper test #

Patch Set 12 : Mock out help center URL in SafeBrowsingBlockingPageTest #

Total comments: 28

Patch Set 13 : Address CL comments #

Total comments: 1

Patch Set 14 : Typo fix #

Patch Set 15 : Remove all mentions of outdated OpenURLInCurrentTab function #

Patch Set 16 : Rebase on master #

Patch Set 17 : Fix typo #

Patch Set 18 : Open links in a new tab only if should_open_links_in_new_tab flag is set #

Patch Set 19 : Fix compilation error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -37 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +79 lines, -14 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +70 lines, -3 lines 0 comments Download
M components/security_interstitials/content/security_interstitial_controller_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M components/security_interstitials/content/security_interstitial_controller_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +8 lines, -0 lines 0 comments Download
M components/security_interstitials/content/security_interstitial_page.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/security_interstitials/content/security_interstitial_page.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M components/security_interstitials/core/controller_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -1 line 0 comments Download
M components/security_interstitials/core/controller_client.cc View 1 2 3 4 5 6 4 chunks +13 lines, -4 lines 0 comments Download
M components/security_interstitials/core/safe_browsing_loud_error_ui.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +4 lines, -0 lines 0 comments Download
M components/security_interstitials/core/safe_browsing_loud_error_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +17 lines, -9 lines 0 comments Download
M components/security_interstitials/core/ssl_error_ui.cc View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M components/security_interstitials/core/superfish_error_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/interstitials/ios_chrome_controller_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/interstitials/ios_chrome_controller_client.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 95 (59 generated)
sperigo
This CL adds code to make the interstitial links ("Learn More", "Privacy Policy", etc.) open ...
3 years, 6 months ago (2017-06-23 19:00:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2955503002/40001
3 years, 6 months ago (2017-06-23 19:03:26 UTC) #10
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 6 months ago (2017-06-23 19:03:28 UTC) #12
meacer
Looks very good, thanks for writing the test as well. I only have minor comments. ...
3 years, 6 months ago (2017-06-23 20:28:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2955503002/100001
3 years, 6 months ago (2017-06-23 20:38:04 UTC) #23
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 6 months ago (2017-06-23 20:38:05 UTC) #25
sperigo
Addressed Mustafa's comments! https://codereview.chromium.org/2955503002/diff/80001/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2955503002/diff/80001/chrome/browser/ssl/ssl_browser_tests.cc#newcode2988 chrome/browser/ssl/ssl_browser_tests.cc:2988: CONTENT_SETTING_BLOCK); On 2017/06/23 20:28:32, meacer wrote: ...
3 years, 6 months ago (2017-06-23 21:32:12 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2955503002/140001
3 years, 6 months ago (2017-06-23 21:33:03 UTC) #28
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 6 months ago (2017-06-23 21:33:06 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2955503002/140001
3 years, 6 months ago (2017-06-23 21:35:02 UTC) #32
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 6 months ago (2017-06-23 21:35:04 UTC) #34
meacer
LGTM! You might want to want to wait for estark's lgtm as well.
3 years, 6 months ago (2017-06-23 21:49:12 UTC) #35
estark
This is looking great! Left some comments inline that are almost entirely style nits. https://codereview.chromium.org/2955503002/diff/220001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc ...
3 years, 5 months ago (2017-06-27 00:36:22 UTC) #44
estark
Oh, you'll also need a couple more OWNERS to review from chrome/browser/safe_browsing/OWNERS and ios/chrome/OWNERS
3 years, 5 months ago (2017-06-27 00:37:29 UTC) #45
meacer
https://codereview.chromium.org/2955503002/diff/220001/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2955503002/diff/220001/chrome/browser/ssl/ssl_browser_tests.cc#newcode3019 chrome/browser/ssl/ssl_browser_tests.cc:3019: const GURL mock_help_center_url = https_server_.GetURL("/title1.html"); On 2017/06/27 00:36:21, estark ...
3 years, 5 months ago (2017-06-27 00:41:46 UTC) #46
estark
https://codereview.chromium.org/2955503002/diff/220001/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2955503002/diff/220001/chrome/browser/ssl/ssl_browser_tests.cc#newcode3019 chrome/browser/ssl/ssl_browser_tests.cc:3019: const GURL mock_help_center_url = https_server_.GetURL("/title1.html"); On 2017/06/27 00:41:46, meacer ...
3 years, 5 months ago (2017-06-27 00:45:47 UTC) #47
sperigo
I addressed Emily's comments. A couple remaining questions: - Should I go ahead and remove ...
3 years, 5 months ago (2017-06-27 17:31:59 UTC) #48
meacer
Still lgtm. Thanks for fixing all the tests! On 2017/06/27 17:31:59, sperigo wrote: > I ...
3 years, 5 months ago (2017-06-27 17:41:21 UTC) #49
estark
Thanks, Sasha! lgtm with one more tiny nit I <3 the Chromite butler extension for ...
3 years, 5 months ago (2017-06-27 17:48:33 UTC) #50
estark
On 2017/06/27 17:48:33, estark wrote: > Thanks, Sasha! lgtm with one more tiny nit > ...
3 years, 5 months ago (2017-06-27 17:52:13 UTC) #52
felt
+nate, will this break the WebView interstitial links? We want those to open in the ...
3 years, 5 months ago (2017-06-27 18:10:35 UTC) #58
rohitrao (ping after 24h)
ios/ lgtm
3 years, 5 months ago (2017-06-27 19:22:39 UTC) #65
Nate Fischer
On 2017/06/27 19:22:39, rohitrao (ping after 24h) wrote: > ios/ lgtm Yeah, this appears to ...
3 years, 5 months ago (2017-06-27 20:48:08 UTC) #68
estark
On 2017/06/27 20:48:08, Nate Fischer wrote: > On 2017/06/27 19:22:39, rohitrao (ping after 24h) wrote: ...
3 years, 5 months ago (2017-06-27 21:17:35 UTC) #69
Nate Fischer
On 2017/06/27 21:17:35, estark wrote: > On 2017/06/27 20:48:08, Nate Fischer wrote: > > On ...
3 years, 5 months ago (2017-06-27 21:37:06 UTC) #70
felt
On 2017/06/27 21:37:06, Nate Fischer wrote: > On 2017/06/27 21:17:35, estark wrote: > > On ...
3 years, 5 months ago (2017-06-27 21:46:07 UTC) #71
felt
On 2017/06/27 21:46:07, felt wrote: > On 2017/06/27 21:37:06, Nate Fischer wrote: > > On ...
3 years, 5 months ago (2017-06-27 21:46:32 UTC) #72
felt
not lgtm Sorry to be the debbie downer, but I don't think it's OK to ...
3 years, 5 months ago (2017-06-27 21:49:09 UTC) #73
felt
On 2017/06/27 21:49:09, felt wrote: > not lgtm > > Sorry to be the debbie ...
3 years, 5 months ago (2017-06-27 21:49:55 UTC) #74
Nate Fischer
On 2017/06/27 21:49:55, felt wrote: > On 2017/06/27 21:49:09, felt wrote: > > not lgtm ...
3 years, 5 months ago (2017-06-27 21:52:24 UTC) #75
Nate Fischer
Ok, CL has landed. Before calling OpenUrlInNewForegroundTab() you'll need to check should_open_links_in_new_tab().
3 years, 5 months ago (2017-06-28 03:11:15 UTC) #80
sperigo
Perfect! Thank you so much for your help with this. On 2017/06/28 at 03:11:15, ntfschr ...
3 years, 5 months ago (2017-06-28 21:12:37 UTC) #81
Nate Fischer
On 2017/06/28 21:12:37, sperigo wrote: > Perfect! Thank you so much for your help with ...
3 years, 5 months ago (2017-06-28 22:21:55 UTC) #86
felt
lgtm thx!
3 years, 5 months ago (2017-06-28 22:32:57 UTC) #87
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2955503002/360001
3 years, 5 months ago (2017-06-29 00:45:46 UTC) #92
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 00:50:29 UTC) #95
Message was sent while issue was closed.
Committed patchset #19 (id:360001) as
https://chromium.googlesource.com/chromium/src/+/a22cb4d1b1f6afc95aba0eb04246...

Powered by Google App Engine
This is Rietveld 408576698