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

Issue 2554403005: [MD settings] move extra options in category settings (Closed)

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

Description

[MD settings] move extra options in category settings This CL refactors the site settings category code to move one-off details from that code. This was done by moving much of the code to a new category default setting module. The site_settings_category has been replaced with content_setting_exceptions. related to bug 662596 BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/891846bf42988a708ce18472546e1361387507a6 Cr-Commit-Position: refs/heads/master@{#439243}

Patch Set 1 : touch up #

Total comments: 10

Patch Set 2 : changed adobe button; merge with master #

Patch Set 3 : #

Patch Set 4 : renamed modules #

Total comments: 16

Patch Set 5 : merge with master; review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+417 lines, -625 lines) Patch
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 1 2 3 4 8 chunks +83 lines, -44 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 4 2 chunks +13 lines, -7 lines 0 comments Download
A chrome/browser/resources/settings/site_settings/category_default_setting.html View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/site_settings/category_default_setting.js View 1 2 3 1 chunk +156 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/site_settings/category_setting_exceptions.html View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/site_settings/category_setting_exceptions.js View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/compiled_resources2.gyp View 1 2 3 4 2 chunks +24 lines, -13 lines 0 comments Download
D chrome/browser/resources/settings/site_settings/site_settings_category.html View 1 2 3 4 1 chunk +0 lines, -78 lines 0 comments Download
D chrome/browser/resources/settings/site_settings/site_settings_category.js View 1 2 3 4 1 chunk +0 lines, -177 lines 0 comments Download
A + chrome/test/data/webui/settings/category_default_setting_tests.js View 1 2 3 5 chunks +9 lines, -9 lines 0 comments Download
A chrome/test/data/webui/settings/category_setting_exceptions_tests.js View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/cr_settings_browsertest.js View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/test/data/webui/settings/site_settings_category_tests.js View 1 2 3 1 chunk +0 lines, -295 lines 0 comments Download

Messages

Total messages: 43 (32 generated)
dschuyler
This is a prequel CL for CL 2509163004. It makes the category page more generic ...
4 years ago (2016-12-08 23:46:27 UTC) #10
tommycli
https://codereview.chromium.org/2554403005/diff/20001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2554403005/diff/20001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode223 chrome/browser/resources/settings/privacy_page/privacy_page.html:223: <category-default class="category-default" I see that each of these has ...
4 years ago (2016-12-09 00:13:19 UTC) #13
dschuyler
https://codereview.chromium.org/2554403005/diff/20001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2554403005/diff/20001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode223 chrome/browser/resources/settings/privacy_page/privacy_page.html:223: <category-default class="category-default" On 2016/12/09 00:13:19, tommycli wrote: > I ...
4 years ago (2016-12-13 23:57:38 UTC) #18
dschuyler
I've been thinking on this further. I'd like to factor out the pieces of the ...
4 years ago (2016-12-14 00:00:53 UTC) #19
dschuyler
This patch includes the refactoring and renaming we discussed off-line. Something we didn't look at ...
4 years ago (2016-12-14 23:56:03 UTC) #27
tommycli
lgtm except below: https://codereview.chromium.org/2554403005/diff/80001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2554403005/diff/80001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode223 chrome/browser/resources/settings/privacy_page/privacy_page.html:223: <category-setting-exceptions selected-site="{{selectedSite}}" This can be in ...
4 years ago (2016-12-15 21:36:38 UTC) #30
dschuyler
https://codereview.chromium.org/2554403005/diff/80001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2554403005/diff/80001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode223 chrome/browser/resources/settings/privacy_page/privacy_page.html:223: <category-setting-exceptions selected-site="{{selectedSite}}" On 2016/12/15 21:36:38, tommycli wrote: > This ...
4 years ago (2016-12-16 20:39:46 UTC) #33
tommycli
lgtm except: consider removing category_setting_exceptions_tests.js, since it just creates the element.
4 years ago (2016-12-16 20:46:15 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/2554403005/100001
4 years ago (2016-12-16 22:28:20 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years ago (2016-12-17 00:10:39 UTC) #41
commit-bot: I haz the power
4 years ago (2016-12-17 00:14:01 UTC) #43
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/891846bf42988a708ce18472546e1361387507a6
Cr-Commit-Position: refs/heads/master@{#439243}

Powered by Google App Engine
This is Rietveld 408576698