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

Issue 2171713002: Safe browsing subresource filter bubble UI skeleton. (Closed)

Created:
4 years, 5 months ago by melandory
Modified:
4 years, 4 months ago
CC:
chromium-reviews, markusheintz_, raymes+watch_chromium.org, oshima+watch_chromium.org, msramek+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Safe browsing subresource filter bubble UI skeleton. After user proceed through Safe Browsing warning interstitials that are displayed when the site ahead contains deceptive embedded content, we need to give the user an ability to reload the page with the content we've blocked previously. This CL implements the skeleton of the bubble, but doesn't have logic to triggering the bubble. BUG=609747 Committed: https://crrev.com/58e4873ad4a9e3072967d0b2b0382e6b20d6791d Cr-Commit-Position: refs/heads/master@{#408970}

Patch Set 1 #

Patch Set 2 : fix mac? && tests #

Patch Set 3 : cl format #

Patch Set 4 : self review #

Patch Set 5 : self review #

Total comments: 12

Patch Set 6 : xib #

Patch Set 7 : xib with osx 10.9 #

Total comments: 24

Patch Set 8 : sort #

Patch Set 9 : msramek@ comments #

Total comments: 8

Patch Set 10 : msramek@ comments #

Patch Set 11 : remove empty line #

Total comments: 12

Patch Set 12 : comments #

Total comments: 2

Patch Set 13 : remove png #

Patch Set 14 : Verified xib file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -14 lines) Patch
M chrome/app/nibs/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A chrome/app/nibs/ContentSubresourceFilter.xib View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +95 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +18 lines, -9 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +30 lines, -1 line 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 3 4 5 6 7 8 2 chunks +42 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model.h View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +56 lines, -4 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/chrome_nibs.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A ui/gfx/vector_icons/subresource_filter_active.icon View 6 1 chunk +18 lines, -0 lines 0 comments Download
M ui/gfx/vector_icons_sources.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 106 (78 generated)
melandory
Markus, please take a look at code in: chrome/browser/
4 years, 5 months ago (2016-07-22 13:17:01 UTC) #16
raymes
Hey melandory - markusheintz probably isn't the right reviewer anymore. Has this had UX input/approval? ...
4 years, 5 months ago (2016-07-25 00:04:49 UTC) #20
raymes
A few high level comments/questions. Thanks! https://codereview.chromium.org/2171713002/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/2171713002/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.h#newcode191 chrome/browser/content_settings/tab_specific_content_settings.h:191: void SetSubresourceFilterActivationBeenIndicated() { ...
4 years, 4 months ago (2016-07-26 07:19:36 UTC) #22
melandory
https://codereview.chromium.org/2171713002/diff/80001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc File chrome/browser/ui/content_settings/content_setting_bubble_model.cc (right): https://codereview.chromium.org/2171713002/diff/80001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc#newcode1353 chrome/browser/ui/content_settings/content_setting_bubble_model.cc:1353: ContentSettingSubresourceFilterBubbleModel(Delegate* delegate, On 2016/07/26 07:19:35, raymes wrote: > Based ...
4 years, 4 months ago (2016-07-26 09:37:31 UTC) #23
melandory
https://codereview.chromium.org/2171713002/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/2171713002/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.h#newcode191 chrome/browser/content_settings/tab_specific_content_settings.h:191: void SetSubresourceFilterActivationBeenIndicated() { On 2016/07/26 07:19:35, raymes wrote: > ...
4 years, 4 months ago (2016-07-26 11:58:11 UTC) #24
msramek
I left some comments, mostly about making the code cleaner. The code that you added ...
4 years, 4 months ago (2016-07-27 09:46:22 UTC) #36
melandory
https://codereview.chromium.org/2171713002/diff/140001/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/2171713002/diff/140001/chrome/browser/content_settings/tab_specific_content_settings.h#newcode191 chrome/browser/content_settings/tab_specific_content_settings.h:191: void SetSubresourceBlockageIndicated() { On 2016/07/27 09:46:21, msramek wrote: > ...
4 years, 4 months ago (2016-07-27 12:53:41 UTC) #41
msramek
Thanks. The ordering in BubbleModel is still not consistent, but it seems that it wasn't ...
4 years, 4 months ago (2016-07-27 13:28:27 UTC) #42
melandory
On 2016/07/27 13:28:27, msramek wrote: > Thanks. > > The ordering in BubbleModel is still ...
4 years, 4 months ago (2016-07-27 14:19:03 UTC) #45
melandory
https://codereview.chromium.org/2171713002/diff/180001/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/2171713002/diff/180001/chrome/browser/content_settings/tab_specific_content_settings.h#newcode42 chrome/browser/content_settings/tab_specific_content_settings.h:42: // |subresource_filter_enabled_| without being tight either to a single ...
4 years, 4 months ago (2016-07-27 15:05:49 UTC) #47
msramek
c/b/content_settings LGTM c/b/ui/content_settings LGTM (in the sense that I'm not an owner, but I know ...
4 years, 4 months ago (2016-07-27 15:47:40 UTC) #55
melandory
bauerb@chromium.org: Please review changes in can you please take a look at chrome/browser/ui/*?
4 years, 4 months ago (2016-07-27 16:43:49 UTC) #57
Bernhard Bauer
LGTM https://codereview.chromium.org/2171713002/diff/260001/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/2171713002/diff/260001/chrome/browser/content_settings/tab_specific_content_settings.h#newcode44 chrome/browser/content_settings/tab_specific_content_settings.h:44: // solution is to use a map<WebContents*, bool> ...
4 years, 4 months ago (2016-07-27 19:27:44 UTC) #58
raymes
I defer to the others since they have reviewed it already, but I've left my ...
4 years, 4 months ago (2016-07-28 05:10:58 UTC) #59
raymes
https://codereview.chromium.org/2171713002/diff/80001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc File chrome/browser/ui/content_settings/content_setting_bubble_model.cc (right): https://codereview.chromium.org/2171713002/diff/80001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc#newcode1353 chrome/browser/ui/content_settings/content_setting_bubble_model.cc:1353: ContentSettingSubresourceFilterBubbleModel(Delegate* delegate, I guess not all the page actions ...
4 years, 4 months ago (2016-07-28 05:14:28 UTC) #60
melandory
mac_chromium_gyp_rel
4 years, 4 months ago (2016-07-28 11:10:33 UTC) #67
melandory
grt@chromium.org: Please review changes in chrome/app https://codereview.chromium.org/2171713002/diff/260001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (right): https://codereview.chromium.org/2171713002/diff/260001/chrome/browser/content_settings/tab_specific_content_settings.cc#newcode275 chrome/browser/content_settings/tab_specific_content_settings.cc:275: const { On ...
4 years, 4 months ago (2016-07-28 14:04:56 UTC) #75
melandory
estade@chromium.org: Please review changes in ui/gfx/
4 years, 4 months ago (2016-07-28 14:07:27 UTC) #79
melandory
On 2016/07/28 14:07:27, melandory wrote: > mailto:estade@chromium.org: Please review changes in > > ui/gfx/ estade@, ...
4 years, 4 months ago (2016-07-29 15:40:16 UTC) #83
Evan Stade
https://codereview.chromium.org/2171713002/diff/340001/chrome/app/theme/theme_resources.grd File chrome/app/theme/theme_resources.grd (right): https://codereview.chromium.org/2171713002/diff/340001/chrome/app/theme/theme_resources.grd#newcode408 chrome/app/theme/theme_resources.grd:408: <structure type="chrome_scaled_image" name="IDR_SUBRESOURCE_FILTER_ACTIVE" file="common/subresource_filter_active.png" /> you shouldn't need to ...
4 years, 4 months ago (2016-07-29 16:19:55 UTC) #84
melandory
https://codereview.chromium.org/2171713002/diff/340001/chrome/app/theme/theme_resources.grd File chrome/app/theme/theme_resources.grd (right): https://codereview.chromium.org/2171713002/diff/340001/chrome/app/theme/theme_resources.grd#newcode408 chrome/app/theme/theme_resources.grd:408: <structure type="chrome_scaled_image" name="IDR_SUBRESOURCE_FILTER_ACTIVE" file="common/subresource_filter_active.png" /> On 2016/07/29 16:19:55, Evan ...
4 years, 4 months ago (2016-07-29 16:25:41 UTC) #87
melandory
4 years, 4 months ago (2016-07-29 16:25:43 UTC) #88
Evan Stade
cool, lgtm
4 years, 4 months ago (2016-07-29 17:04:37 UTC) #89
grt (UTC plus 2)
chrome/app rubberstamp lgtm
4 years, 4 months ago (2016-07-29 17:13:26 UTC) #92
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/2171713002/360001
4 years, 4 months ago (2016-08-01 08:22:26 UTC) #95
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/2171713002/380001
4 years, 4 months ago (2016-08-01 14:37:26 UTC) #103
commit-bot: I haz the power
Committed patchset #14 (id:380001)
4 years, 4 months ago (2016-08-01 15:54:09 UTC) #104
commit-bot: I haz the power
4 years, 4 months ago (2016-08-01 15:55:44 UTC) #106
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/58e4873ad4a9e3072967d0b2b0382e6b20d6791d
Cr-Commit-Position: refs/heads/master@{#408970}

Powered by Google App Engine
This is Rietveld 408576698