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

Issue 2858043004: Support interstitials with no primary button (Closed)

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

Description

Support interstitials with no primary button. Current use case will be for showing interstitials in WebView, where 'Back to safety' isn't available. BUG=716096 Review-Url: https://codereview.chromium.org/2858043004 Cr-Commit-Position: refs/heads/master@{#470311} Committed: https://chromium.googlesource.com/chromium/src/+/5290088f4545b02abf2d0d6064d685ee0c7b50e2

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits #

Patch Set 3 : Update iOS chrome controller #

Patch Set 4 : Fix CanGoBack definition #

Patch Set 5 : Fix JS errors on other interstitials #

Patch Set 6 : Fix iOSChromeControllerClient #

Patch Set 7 : Fix iOS build #

Total comments: 2

Patch Set 8 : Fix nits #

Total comments: 3

Patch Set 9 : Fix iOS CanGoBack implementation #

Messages

Total messages: 48 (28 generated)
edwardjung
Here's a separate CL for just the front end change. I'll switch CL 2852333003 to ...
3 years, 7 months ago (2017-05-04 12:08:05 UTC) #3
felt
looks pretty good, just some nits https://codereview.chromium.org/2858043004/diff/1/components/security_interstitials/content/security_interstitial_controller_client.cc File components/security_interstitials/content/security_interstitial_controller_client.cc (right): https://codereview.chromium.org/2858043004/diff/1/components/security_interstitials/content/security_interstitial_controller_client.cc#newcode102 components/security_interstitials/content/security_interstitial_controller_client.cc:102: // For testing, ...
3 years, 7 months ago (2017-05-05 00:31:14 UTC) #4
edwardjung
Thanks, fixed nits. https://codereview.chromium.org/2858043004/diff/1/components/security_interstitials/content/security_interstitial_controller_client.cc File components/security_interstitials/content/security_interstitial_controller_client.cc (right): https://codereview.chromium.org/2858043004/diff/1/components/security_interstitials/content/security_interstitial_controller_client.cc#newcode102 components/security_interstitials/content/security_interstitial_controller_client.cc:102: // For testing, should be set ...
3 years, 7 months ago (2017-05-05 10:24:25 UTC) #6
edwardjung
I'm also having an issue with in the tests. They all fail at this point: ...
3 years, 7 months ago (2017-05-05 11:49:43 UTC) #14
felt
On 2017/05/05 11:49:43, edwardjung wrote: > I'm also having an issue with in the tests. ...
3 years, 7 months ago (2017-05-05 15:14:53 UTC) #15
edwardjung
On 2017/05/05 15:14:53, felt wrote: > On 2017/05/05 11:49:43, edwardjung wrote: > > I'm also ...
3 years, 7 months ago (2017-05-05 16:29:01 UTC) #16
edwardjung
Additional output when running the tests locally and adding a NOTREACHED: 2017-05-05 18:26:53.855 browser_tests[22311:717247] NSWindow ...
3 years, 7 months ago (2017-05-05 17:37:12 UTC) #17
edwardjung
Additional output when running the tests locally and adding a NOTREACHED: 2017-05-05 18:26:53.855 browser_tests[22311:717247] NSWindow ...
3 years, 7 months ago (2017-05-05 17:37:12 UTC) #18
felt
On 2017/05/05 17:37:12, edwardjung wrote: > Additional output when running the tests locally and adding ...
3 years, 7 months ago (2017-05-05 17:39:04 UTC) #19
edwardjung
> Are you building a release build or a debug build? It doesn't seem to ...
3 years, 7 months ago (2017-05-05 18:46:36 UTC) #20
edwardjung
PTAL, I believe I located the issue. I needed to set a hide_primary_button value in ...
3 years, 7 months ago (2017-05-07 13:43:24 UTC) #25
felt
On 2017/05/07 13:43:24, edwardjung wrote: > PTAL, I believe I located the issue. I needed ...
3 years, 7 months ago (2017-05-07 13:55:24 UTC) #26
felt
lgtm, but please make the title of the issue more specific (maybe something like, "Support ...
3 years, 7 months ago (2017-05-07 14:00:39 UTC) #27
edwardjung
Thanks! @rohitrao, PTAL at the iOS updates to: ios/chrome/browser/interstitials/ios_chrome_controller_client.mm ios/chrome/browser/interstitials/ios_chrome_controller_client.h https://codereview.chromium.org/2858043004/diff/120001/components/security_interstitials/core/controller_client.h File components/security_interstitials/core/controller_client.h (right): https://codereview.chromium.org/2858043004/diff/120001/components/security_interstitials/core/controller_client.h#newcode74 ...
3 years, 7 months ago (2017-05-07 16:12:00 UTC) #32
rohitrao (ping after 24h)
https://codereview.chromium.org/2858043004/diff/140001/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm File ios/chrome/browser/interstitials/ios_chrome_controller_client.mm (right): https://codereview.chromium.org/2858043004/diff/140001/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm#newcode49 ios/chrome/browser/interstitials/ios_chrome_controller_client.mm:49: return true; Is this meant to always be true, ...
3 years, 7 months ago (2017-05-09 10:38:41 UTC) #35
edwardjung
https://codereview.chromium.org/2858043004/diff/140001/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm File ios/chrome/browser/interstitials/ios_chrome_controller_client.mm (right): https://codereview.chromium.org/2858043004/diff/140001/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm#newcode49 ios/chrome/browser/interstitials/ios_chrome_controller_client.mm:49: return true; On 2017/05/09 10:38:40, rohitrao (ping after 24h) ...
3 years, 7 months ago (2017-05-09 11:20:25 UTC) #36
edwardjung
https://codereview.chromium.org/2858043004/diff/140001/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm File ios/chrome/browser/interstitials/ios_chrome_controller_client.mm (right): https://codereview.chromium.org/2858043004/diff/140001/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm#newcode49 ios/chrome/browser/interstitials/ios_chrome_controller_client.mm:49: return true; On 2017/05/09 10:38:40, rohitrao (ping after 24h) ...
3 years, 7 months ago (2017-05-09 11:47:47 UTC) #37
rohitrao (ping after 24h)
ios/ lgtm, thanks!
3 years, 7 months ago (2017-05-09 12:12:52 UTC) #38
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/2858043004/160001
3 years, 7 months ago (2017-05-09 13:37:59 UTC) #45
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 13:41:38 UTC) #48
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/5290088f4545b02abf2d0d6064d6...

Powered by Google App Engine
This is Rietveld 408576698