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

Issue 2354313002: Site Settings Desktop: Flesh out controlled exceptions a little more. (Closed)

Created:
4 years, 3 months ago by Finnur
Modified:
4 years, 3 months ago
Reviewers:
dschuyler
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Site Settings Desktop: Flesh out controlled exceptions a little more. BUG=626615 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/b0fca5c853d275637871e0ac86f84953f2071346 Cr-Commit-Position: refs/heads/master@{#420302}

Patch Set 1 #

Patch Set 2 : Polish #

Total comments: 4

Patch Set 3 : Address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -14 lines) Patch
M chrome/browser/resources/settings/site_settings/site_details_permission.html View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.html View 1 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 1 2 4 chunks +20 lines, -9 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_behavior.js View 1 2 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
Finnur
https://codereview.chromium.org/2354313002/diff/20001/chrome/browser/resources/settings/site_settings/site_list.js File chrome/browser/resources/settings/site_settings/site_list.js (left): https://codereview.chromium.org/2354313002/diff/20001/chrome/browser/resources/settings/site_settings/site_list.js#oldcode407 chrome/browser/resources/settings/site_settings/site_list.js:407: return; I took this out because it doesn't make ...
4 years, 3 months ago (2016-09-21 16:45:24 UTC) #8
dschuyler
lgtm https://codereview.chromium.org/2354313002/diff/20001/chrome/browser/resources/settings/site_settings/site_list.js File chrome/browser/resources/settings/site_settings/site_list.js (left): https://codereview.chromium.org/2354313002/diff/20001/chrome/browser/resources/settings/site_settings/site_list.js#oldcode407 chrome/browser/resources/settings/site_settings/site_list.js:407: return; On 2016/09/21 16:45:24, Finnur wrote: > I ...
4 years, 3 months ago (2016-09-21 17:25:20 UTC) #11
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/2354313002/40001
4 years, 3 months ago (2016-09-22 10:32:24 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-22 11:29:37 UTC) #16
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/b0fca5c853d275637871e0ac86f84953f2071346 Cr-Commit-Position: refs/heads/master@{#420302}
4 years, 3 months ago (2016-09-22 11:31:08 UTC) #18
Finnur
4 years, 3 months ago (2016-09-22 12:58:00 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/2354313002/diff/20001/chrome/browser/resource...
File chrome/browser/resources/settings/site_settings/site_list.js (right):

https://codereview.chromium.org/2354313002/diff/20001/chrome/browser/resource...
chrome/browser/resources/settings/site_settings/site_list.js:204: return '';
On 2016/09/21 17:25:20, dschuyler wrote:
> optional: A handful of conditionals is not a big deal,
> so this may be fine as is, but around this point I'd 
> suggest switching to a dictionary (object) and doing
> something like:
> 
> iconControlledBy: {
> ...
> },
> computeIconControlledBy_: function(item) {
>   return iconControlledBy[item.source] || '';
> },
> 

Done.

Powered by Google App Engine
This is Rietveld 408576698