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

Issue 3068005: Flesh out the content settings exceptions lists a bit more. (Closed)

Created:
10 years, 5 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews, dhg, arv (Not doing code reviews), ben+cc_chromium.org, Paweł Hajdan Jr.
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Flesh out the content settings exceptions lists a bit more. - Add "Add" button. Doesn't work. - Add "Remove" button. Does work. - Update the view when the model changes. (Still only works for the images content type.) BUG=48862 TEST=manual; unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54002

Patch Set 1 #

Patch Set 2 : enhance unit test #

Total comments: 18

Patch Set 3 : review comments #

Total comments: 1

Patch Set 4 : reduce instance vars #

Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -146 lines) Patch
M chrome/browser/dom_ui/content_settings_handler.h View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/content_settings_handler.cc View 1 2 5 chunks +50 lines, -2 lines 0 comments Download
M chrome/browser/host_content_settings_map.h View 1 2 3 1 chunk +20 lines, -7 lines 0 comments Download
M chrome/browser/host_content_settings_map.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/host_content_settings_map_unittest.cc View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/options.html View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/options/content_settings.html View 3 chunks +31 lines, -29 lines 0 comments Download
M chrome/browser/resources/options/content_settings.js View 1 2 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/resources/options/content_settings_exceptions_area.css View 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/content_settings_exceptions_area.js View 3 1 chunk +153 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/content_settings_exceptions_list.js View 1 2 1 chunk +0 lines, -101 lines 0 comments Download
M chrome/browser/resources/options/content_settings_page.css View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Evan Stade
jochen: HostContentSettingsMap changes (basically the reason for these changes is to be able to update ...
10 years, 5 months ago (2010-07-27 00:54:53 UTC) #1
arv (Not doing code reviews)
http://codereview.chromium.org/3068005/diff/2001/3001 File chrome/browser/dom_ui/content_settings_handler.cc (right): http://codereview.chromium.org/3068005/diff/2001/3001#newcode320 chrome/browser/dom_ui/content_settings_handler.cc:320: list_value->GetString(i, &pattern); DCHECK return value? http://codereview.chromium.org/3068005/diff/2001/3004 File chrome/browser/host_content_settings_map.h (right): ...
10 years, 5 months ago (2010-07-27 18:12:03 UTC) #2
jochen (gone - plz use gerrit)
please adopt the consumer of the CONTENT_SETTINGS_CHANGED notification in chrome/browser/tab_contents/tab_contents.cc http://codereview.chromium.org/3068005/diff/2001/3004 File chrome/browser/host_content_settings_map.h (right): http://codereview.chromium.org/3068005/diff/2001/3004#newcode76 ...
10 years, 5 months ago (2010-07-27 18:16:46 UTC) #3
jochen (gone - plz use gerrit)
On 2010/07/27 18:16:46, jochen wrote: > please adopt the consumer of the CONTENT_SETTINGS_CHANGED notification in ...
10 years, 5 months ago (2010-07-27 18:23:02 UTC) #4
jochen (gone - plz use gerrit)
On 2010/07/27 18:23:02, jochen wrote: > On 2010/07/27 18:16:46, jochen wrote: > > please adopt ...
10 years, 5 months ago (2010-07-27 18:24:08 UTC) #5
Evan Stade
> btw, I don't know the time plan for replacing the pref ui, ASAP (definitely ...
10 years, 5 months ago (2010-07-27 21:04:25 UTC) #6
arv (Not doing code reviews)
LGTM http://codereview.chromium.org/3068005/diff/10001/21 File chrome/browser/resources/options/content_settings_exceptions_area.js (right): http://codereview.chromium.org/3068005/diff/10001/21#newcode128 chrome/browser/resources/options/content_settings_exceptions_area.js:128: this.list = imagesExceptionsList; How about a var fo ...
10 years, 5 months ago (2010-07-28 06:02:09 UTC) #7
jochen (gone - plz use gerrit)
10 years, 5 months ago (2010-07-28 06:49:12 UTC) #8
LGTM, please run it by the trybots :)

On 2010/07/28 06:02:09, arv wrote:
> LGTM
> 
> http://codereview.chromium.org/3068005/diff/10001/21
> File chrome/browser/resources/options/content_settings_exceptions_area.js
> (right):
> 
> http://codereview.chromium.org/3068005/diff/10001/21#newcode128
> chrome/browser/resources/options/content_settings_exceptions_area.js:128:
> this.list = imagesExceptionsList;
> How about a var fo imagesExceptionsList?

Powered by Google App Engine
This is Rietveld 408576698