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

Issue 2858032: Display content settings applying to the current otr session only. (Closed)

Created:
10 years, 5 months ago by jochen (gone - plz use gerrit)
Modified:
9 years, 7 months ago
Reviewers:
Nico, Peter Kasting
CC:
chromium-reviews, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Display content settings applying to the current otr session only. Also allow for editing them... The XIB change adds a column at the end of the table with a NSCheckboxCell in it and the title IDS_EXCEPTIONS_OTR_HEADER BUG=44480 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51507

Patch Set 1 #

Total comments: 15

Patch Set 2 : mac bits #

Total comments: 4

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+459 lines, -90 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/app/nibs/ContentExceptionsWindow.xib View 13 chunks +77 lines, -10 lines 0 comments Download
M chrome/browser/cocoa/content_exceptions_window_controller.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/cocoa/content_exceptions_window_controller.mm View 1 2 11 chunks +44 lines, -16 lines 0 comments Download
M chrome/browser/cocoa/content_exceptions_window_controller_unittest.mm View 1 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/content_settings_dialog_controller.mm View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/content_exceptions_table_model.h View 1 3 chunks +23 lines, -3 lines 0 comments Download
M chrome/browser/content_exceptions_table_model.cc View 1 2 chunks +38 lines, -13 lines 0 comments Download
M chrome/browser/gtk/options/content_exception_editor.h View 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/gtk/options/content_exception_editor.cc View 6 chunks +22 lines, -5 lines 0 comments Download
M chrome/browser/gtk/options/content_exceptions_window_gtk.h View 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/gtk/options/content_exceptions_window_gtk.cc View 11 chunks +46 lines, -11 lines 0 comments Download
M chrome/browser/gtk/options/content_filter_page_gtk.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/gtk/options/cookie_filter_page_gtk.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/profile.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/profile.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
A chrome/browser/views/options/content_exceptions_table_view.h View 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/views/options/content_exceptions_table_view.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/views/options/content_filter_page_view.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/views/options/exception_editor_view.h View 5 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/views/options/exception_editor_view.cc View 7 chunks +25 lines, -8 lines 0 comments Download
M chrome/browser/views/options/exceptions_view.h View 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/views/options/exceptions_view.cc View 7 chunks +32 lines, -12 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/testing_profile.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jochen (gone - plz use gerrit)
please review. The Mac UI bits are missing... the mac implementation is a real mess, ...
10 years, 5 months ago (2010-06-29 14:23:23 UTC) #1
jochen (gone - plz use gerrit)
sorry for not including screenshots btw. Here's what the UI looks like: When no incognito ...
10 years, 5 months ago (2010-06-29 17:33:19 UTC) #2
Nico
Chances are I don't have time to do this for m6.
10 years, 5 months ago (2010-06-29 17:34:42 UTC) #3
jochen (gone - plz use gerrit)
On 2010/06/29 17:34:42, Nico wrote: > Chances are I don't have time to do this ...
10 years, 5 months ago (2010-06-29 18:20:21 UTC) #4
Peter Kasting
LGTM with comments http://codereview.chromium.org/2858032/diff/1/2 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/2858032/diff/1/2#newcode4476 chrome/app/generated_resources.grd:4476: Exceptions displayed in italics apply to ...
10 years, 5 months ago (2010-06-29 18:28:07 UTC) #5
jochen (gone - plz use gerrit)
Nico, please have a look at the cocoa changes. Here's how it looks like if ...
10 years, 5 months ago (2010-06-30 16:08:41 UTC) #6
Nico
10 years, 5 months ago (2010-06-30 16:30:18 UTC) #7
Mac parts LG. Thanks for doing them!

The UI looks…interesting :-P I assume this is is all ui leads approved?

http://codereview.chromium.org/2858032/diff/11001/12003
File chrome/browser/cocoa/content_exceptions_window_controller.h (right):

http://codereview.chromium.org/2858032/diff/11001/12003#newcode38
chrome/browser/cocoa/content_exceptions_window_controller.h:38: // is allowed.
s/is/be/

http://codereview.chromium.org/2858032/diff/11001/12003#newcode39
chrome/browser/cocoa/content_exceptions_window_controller.h:39: BOOL
otrIsAllowed_;
Nit: otrAllowed_? (feel free to ignore)

http://codereview.chromium.org/2858032/diff/11001/12004
File chrome/browser/cocoa/content_exceptions_window_controller.mm (right):

http://codereview.chromium.org/2858032/diff/11001/12004#newcode24
chrome/browser/cocoa/content_exceptions_window_controller.mm:24:
forOTR:(BOOL)isOTR;
forOtr. Do not keep abbreviations in upper-case. (PdfUrl reads better than
PDFURL for example)

http://codereview.chromium.org/2858032/diff/11001/12006
File chrome/browser/cocoa/content_settings_dialog_controller.mm (right):

http://codereview.chromium.org/2858032/diff/11001/12006#newcode358
chrome/browser/cocoa/content_settings_dialog_controller.mm:358:
attachSheetTo:[self window]];
Indent this lik


  [[ContentExceptionsWindowController controllerForType:settingsType
                                            settingsMap:settingsMap
                                         otrSettingsMap:offTheRecordSettingsMap]
      attachSheetTo:[self window]];

Powered by Google App Engine
This is Rietveld 408576698