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

Issue 2793413002: [subresource_filter] Update the desktop UI according to mocks (Closed)

Created:
3 years, 8 months ago by Charlie Harrison
Modified:
3 years, 8 months ago
Reviewers:
msw, engedy
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[subresource_filter] Update the desktop UI according to mocks This patch adds logic to the content setting bubble to support using a checkbox for policy decisions. BUG=689992 Review-Url: https://codereview.chromium.org/2793413002 Cr-Commit-Position: refs/heads/master@{#462498} Committed: https://chromium.googlesource.com/chromium/src/+/5edcdad617c78e16268090993b552065ee04694a

Patch Set 1 #

Patch Set 2 : Not as part of the extra view #

Total comments: 20

Patch Set 3 : msw review #

Total comments: 12

Patch Set 4 : Remove string, update dialog #

Total comments: 4

Patch Set 5 : ordering #

Total comments: 2

Patch Set 6 : engedy review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -44 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/android/content_settings/subresource_filter_infobar_delegate.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.h View 1 2 3 4 6 chunks +21 lines, -13 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 3 4 5 3 chunks +18 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 3 7 chunks +30 lines, -17 lines 0 comments Download

Messages

Total messages: 42 (29 generated)
Charlie Harrison
msw: Are you a good reviewer for this change? Note that it is currently a ...
3 years, 8 months ago (2017-04-04 19:00:27 UTC) #4
msw
I commented on the bug... not sure why we want this.
3 years, 8 months ago (2017-04-04 19:38:52 UTC) #5
msw
https://codereview.chromium.org/2793413002/diff/20001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc File chrome/browser/ui/content_settings/content_setting_bubble_model.cc (left): https://codereview.chromium.org/2793413002/diff/20001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc#oldcode1250 chrome/browser/ui/content_settings/content_setting_bubble_model.cc:1250: set_show_manage_text_as_button(true); If this function is no longer used, and ...
3 years, 8 months ago (2017-04-05 22:08:34 UTC) #6
Charlie Harrison
Thanks for the review, and for catching that subresource filter is the only consumer of ...
3 years, 8 months ago (2017-04-05 22:35:32 UTC) #9
msw
https://codereview.chromium.org/2793413002/diff/40001/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/2793413002/diff/40001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc#newcode1261 chrome/browser/ui/content_settings/content_setting_bubble_model.cc:1261: is_checked ? IDS_FILTERED_DECEPTIVE_CONTENT_RELOAD_ACTION : IDS_DONE; aside: It'd be nice ...
3 years, 8 months ago (2017-04-06 00:44:56 UTC) #12
Charlie Harrison
Thanks! https://codereview.chromium.org/2793413002/diff/40001/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/2793413002/diff/40001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc#newcode1261 chrome/browser/ui/content_settings/content_setting_bubble_model.cc:1261: is_checked ? IDS_FILTERED_DECEPTIVE_CONTENT_RELOAD_ACTION : IDS_DONE; On 2017/04/06 00:44:56, ...
3 years, 8 months ago (2017-04-06 02:04:58 UTC) #17
msw
lgtm with accessor ordering matching struct member ordering. https://codereview.chromium.org/2793413002/diff/40001/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/2793413002/diff/40001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc#newcode1261 chrome/browser/ui/content_settings/content_setting_bubble_model.cc:1261: is_checked ...
3 years, 8 months ago (2017-04-06 02:19:30 UTC) #22
Charlie Harrison
Thanks, engedy could you take a quick pass? msw: One thing we had to do ...
3 years, 8 months ago (2017-04-06 03:12:59 UTC) #26
msw
On 2017/04/06 03:12:59, Charlie Harrison wrote: > msw: One thing we had to do in ...
3 years, 8 months ago (2017-04-06 05:00:53 UTC) #29
engedy
LGTM % nit. https://codereview.chromium.org/2793413002/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/2793413002/diff/80001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc#newcode1261 chrome/browser/ui/content_settings/content_setting_bubble_model.cc:1261: set_done_button_text(l10n_util::GetStringUTF16(string_id)); nit: Have you considered setting ...
3 years, 8 months ago (2017-04-06 14:02:59 UTC) #31
Charlie Harrison
Thanks Balazs! https://codereview.chromium.org/2793413002/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/2793413002/diff/80001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc#newcode1261 chrome/browser/ui/content_settings/content_setting_bubble_model.cc:1261: set_done_button_text(l10n_util::GetStringUTF16(string_id)); On 2017/04/06 14:02:59, engedy wrote: > ...
3 years, 8 months ago (2017-04-06 14:46:56 UTC) #34
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/2793413002/100001
3 years, 8 months ago (2017-04-06 15:39:35 UTC) #39
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 15:57:02 UTC) #42
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/5edcdad617c78e16268090993b55...

Powered by Google App Engine
This is Rietveld 408576698