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

Issue 2044963003: Site Settings Desktop: Change how adding site exceptions work. (Closed)

Created:
4 years, 6 months ago by Finnur
Modified:
4 years, 6 months ago
Reviewers:
michaelpg
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Site Settings Desktop: Change how adding site exceptions work. Instead of the whitelist model, move to one that allows adding either Block/Allow entries. This requires the category heading to be always shown, because otherwise there's no context. This CL also adds support for Enter (to submit) in the dialog. BUG=614277, 543635 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/e77d721e353b457b741a3a2781b7181e32fbcb63 Cr-Commit-Position: refs/heads/master@{#399145}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address feedback #

Patch Set 3 : Address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -55 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/add_site_dialog.html View 1 2 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/add_site_dialog.js View 1 2 2 chunks +17 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.html View 1 4 chunks +22 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 2 chunks +19 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_category.html View 3 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_category.js View 1 chunk +0 lines, -16 lines 0 comments Download
M chrome/test/data/webui/settings/site_list_tests.js View 4 chunks +6 lines, -8 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
Finnur
4 years, 6 months ago (2016-06-08 15:25:28 UTC) #3
michaelpg
lgtm https://codereview.chromium.org/2044963003/diff/1/chrome/browser/resources/settings/site_settings/add_site_dialog.js File chrome/browser/resources/settings/site_settings/add_site_dialog.js (right): https://codereview.chromium.org/2044963003/diff/1/chrome/browser/resources/settings/site_settings/add_site_dialog.js#newcode51 chrome/browser/resources/settings/site_settings/add_site_dialog.js:51: */ @private https://codereview.chromium.org/2044963003/diff/1/chrome/browser/resources/settings/site_settings/add_site_dialog.js#newcode61 chrome/browser/resources/settings/site_settings/add_site_dialog.js:61: onAddTap_: function() { maybe ...
4 years, 6 months ago (2016-06-09 17:38:00 UTC) #4
Finnur
Good points. Thanks! https://codereview.chromium.org/2044963003/diff/1/chrome/browser/resources/settings/site_settings/add_site_dialog.js File chrome/browser/resources/settings/site_settings/add_site_dialog.js (right): https://codereview.chromium.org/2044963003/diff/1/chrome/browser/resources/settings/site_settings/add_site_dialog.js#newcode51 chrome/browser/resources/settings/site_settings/add_site_dialog.js:51: */ On 2016/06/09 17:38:00, michaelpg wrote: ...
4 years, 6 months ago (2016-06-09 21:53:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2044963003/20001
4 years, 6 months ago (2016-06-09 21:54:10 UTC) #8
michaelpg
https://codereview.chromium.org/2044963003/diff/1/chrome/browser/resources/settings/site_settings/add_site_dialog.js File chrome/browser/resources/settings/site_settings/add_site_dialog.js (right): https://codereview.chromium.org/2044963003/diff/1/chrome/browser/resources/settings/site_settings/add_site_dialog.js#newcode61 chrome/browser/resources/settings/site_settings/add_site_dialog.js:61: onAddTap_: function() { On 2016/06/09 21:53:08, Finnur wrote: > ...
4 years, 6 months ago (2016-06-09 22:31:05 UTC) #9
Finnur
Oh, hey -- yeah, I like that improvement. Done.
4 years, 6 months ago (2016-06-09 23:01:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2044963003/40001
4 years, 6 months ago (2016-06-09 23:02:03 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) mac_chromium_gn_rel on ...
4 years, 6 months ago (2016-06-10 01:03:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2044963003/40001
4 years, 6 months ago (2016-06-10 10:09:18 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-10 10:12:54 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 10:13:00 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-10 10:15:19 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e77d721e353b457b741a3a2781b7181e32fbcb63
Cr-Commit-Position: refs/heads/master@{#399145}

Powered by Google App Engine
This is Rietveld 408576698