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

Issue 2525943002: Display content settings for extensions with extension name. (Closed)

Created:
4 years ago by dullweber
Modified:
4 years ago
Reviewers:
msramek, dschuyler, Dan Beam
CC:
chromium-reviews, dbeam+watch-options_chromium.org, msramek+watch_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, raymes+watch_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, markusheintz_
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Display content settings and zoomlevel for extensions with extension name instead of showing a cryptic id. If an extension has a favicon, it is shown as well. https://screenshot.googleplex.com/7rMF5f26CmW https://screenshot.googleplex.com/9TbvP1zDYWJ BUG=412740 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/d59c57610403a5ae1b1f3f7a0af323ba53ff0a01 Cr-Commit-Position: refs/heads/master@{#436291}

Patch Set 1 #

Patch Set 2 : fix compilation #

Patch Set 3 : small fix #

Patch Set 4 : fix nullptr #

Total comments: 9

Patch Set 5 : remove GetHost() #

Total comments: 1

Patch Set 6 : fix missing . #

Total comments: 9

Patch Set 7 : fix comments #

Patch Set 8 : rename originForDisplay to displayName #

Total comments: 4

Patch Set 9 : fix coding style #

Patch Set 10 : use proper extension id check #

Patch Set 11 : deduplicate by origin #

Patch Set 12 : deduplicate by origin #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -72 lines) Patch
M chrome/browser/resources/settings/site_settings/site_details.html View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.html View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_behavior.js View 1 2 3 4 5 6 7 1 chunk +4 lines, -9 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/zoom_levels.html View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 4 5 6 3 chunks +15 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/settings/site_settings_handler.cc View 1 2 3 4 5 6 7 8 9 6 chunks +37 lines, -16 lines 0 comments Download
M chrome/browser/ui/webui/settings/site_settings_handler_unittest.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/site_settings_helper.h View 1 2 3 4 5 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/site_settings_helper.cc View 1 2 3 4 5 10 chunks +45 lines, -14 lines 0 comments Download
M chrome/browser/ui/webui/site_settings_helper_unittest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/test/data/webui/settings/site_details_tests.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/data/webui/settings/site_list_tests.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/settings/zoom_levels_tests.js View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (40 generated)
dullweber
Martin, please review these changes
4 years ago (2016-11-24 10:12:17 UTC) #21
dullweber
On 2016/11/24 10:12:17, dullweber wrote: > Martin, please review these changes I only applied this ...
4 years ago (2016-11-24 10:14:32 UTC) #23
msramek
https://codereview.chromium.org/2525943002/diff/50001/chrome/browser/ui/webui/settings/site_settings_handler.cc File chrome/browser/ui/webui/settings/site_settings_handler.cc (right): https://codereview.chromium.org/2525943002/diff/50001/chrome/browser/ui/webui/settings/site_settings_handler.cc#newcode424 chrome/browser/ui/webui/settings/site_settings_handler.cc:424: map, content_type, profile_, web_ui(), /*incognito=*/false, nit: Not your code, ...
4 years ago (2016-11-24 11:38:20 UTC) #26
dullweber
https://codereview.chromium.org/2525943002/diff/50001/chrome/browser/ui/webui/settings/site_settings_handler.cc File chrome/browser/ui/webui/settings/site_settings_handler.cc (right): https://codereview.chromium.org/2525943002/diff/50001/chrome/browser/ui/webui/settings/site_settings_handler.cc#newcode634 chrome/browser/ui/webui/settings/site_settings_handler.cc:634: for (auto i = zoom_levels.cbegin(); i != zoom_levels.cend(); ++i) ...
4 years ago (2016-11-24 12:46:20 UTC) #29
msramek
LGTM, thanks! I didn't review the rest thoroughly, leaving that to the respective owners. https://codereview.chromium.org/2525943002/diff/70001/chrome/browser/ui/webui/site_settings_helper.cc ...
4 years ago (2016-11-24 12:54:00 UTC) #30
dullweber
dschuyler@chromium.org: Please review these changes
4 years ago (2016-11-24 13:05:02 UTC) #32
dschuyler
https://codereview.chromium.org/2525943002/diff/90001/chrome/browser/resources/settings/site_settings/site_list.html File chrome/browser/resources/settings/site_settings/site_list.html (right): https://codereview.chromium.org/2525943002/diff/90001/chrome/browser/resources/settings/site_settings/site_list.html#newcode69 chrome/browser/resources/settings/site_settings/site_list.html:69: style$="[[computeSiteIcon(item.origin)]]"> I'm not clear on why this change was ...
4 years ago (2016-11-28 21:58:43 UTC) #33
dullweber
https://codereview.chromium.org/2525943002/diff/90001/chrome/browser/resources/settings/site_settings/site_list.html File chrome/browser/resources/settings/site_settings/site_list.html (right): https://codereview.chromium.org/2525943002/diff/90001/chrome/browser/resources/settings/site_settings/site_list.html#newcode69 chrome/browser/resources/settings/site_settings/site_list.html:69: style$="[[computeSiteIcon(item.origin)]]"> On 2016/11/28 21:58:42, dschuyler wrote: > I'm not ...
4 years ago (2016-11-29 09:34:18 UTC) #34
dschuyler
LGTM (with a suggestion that I think would be an improvement). https://codereview.chromium.org/2525943002/diff/90001/chrome/browser/resources/settings/site_settings/site_list.html File chrome/browser/resources/settings/site_settings/site_list.html (right): ...
4 years ago (2016-11-29 22:46:59 UTC) #35
dullweber
On 2016/11/29 22:46:59, dschuyler wrote: > LGTM (with a suggestion that I think would be ...
4 years ago (2016-11-30 09:29:51 UTC) #36
dullweber
dbeam@chromium.org: Please review changes in webui/ and webui/options/
4 years ago (2016-11-30 09:51:50 UTC) #38
dschuyler
On 2016/11/30 09:29:51, dullweber wrote: > On 2016/11/29 22:46:59, dschuyler wrote: > > LGTM (with ...
4 years ago (2016-11-30 19:23:33 UTC) #39
dullweber
On 2016/11/30 19:23:33, dschuyler wrote: > I believe site_details.html is only accessible when the chrome://flags ...
4 years ago (2016-12-01 09:08:09 UTC) #40
Dan Beam
ooooh, fancy lgtm https://codereview.chromium.org/2525943002/diff/130001/chrome/browser/ui/webui/settings/site_settings_handler.cc File chrome/browser/ui/webui/settings/site_settings_handler.cc (right): https://codereview.chromium.org/2525943002/diff/130001/chrome/browser/ui/webui/settings/site_settings_handler.cc#newcode650 chrome/browser/ui/webui/settings/site_settings_handler.cc:650: std::string displayName = host; cpp_vars_like_this https://codereview.chromium.org/2525943002/diff/130001/chrome/browser/ui/webui/settings/site_settings_handler.cc#newcode653 ...
4 years ago (2016-12-02 00:44:50 UTC) #41
dullweber
https://codereview.chromium.org/2525943002/diff/130001/chrome/browser/ui/webui/settings/site_settings_handler.cc File chrome/browser/ui/webui/settings/site_settings_handler.cc (right): https://codereview.chromium.org/2525943002/diff/130001/chrome/browser/ui/webui/settings/site_settings_handler.cc#newcode650 chrome/browser/ui/webui/settings/site_settings_handler.cc:650: std::string displayName = host; On 2016/12/02 00:44:50, Dan Beam ...
4 years ago (2016-12-02 10:27:25 UTC) #42
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/2525943002/210001
4 years ago (2016-12-05 13:25:25 UTC) #53
commit-bot: I haz the power
Committed patchset #12 (id:210001)
4 years ago (2016-12-05 14:50:16 UTC) #56
commit-bot: I haz the power
4 years ago (2016-12-05 14:52:47 UTC) #58
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/d59c57610403a5ae1b1f3f7a0af323ba53ff0a01
Cr-Commit-Position: refs/heads/master@{#436291}

Powered by Google App Engine
This is Rietveld 408576698