Chromium Code Reviews
Help | Chromium Project | Sign in
(500)

Issue 2884024: [Mac] Add buttons to the collected cookies dialog to add content exceptions. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 10 months ago by Bernhard Bauer
Modified:
4 years ago
Reviewers:
Nico
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org, jochen
Base URL:
git://codf21.jail/chromium.git
Visibility:
Public.

Description

[Mac] Add buttons to the collected cookies dialog to add content exceptions. This is the Mac side of http://codereview.chromium.org/2808053 . Looks like this: http://imgur.com/leY4C.png To provide user feedback, after an exception has been added, the exceptions window is shown. XIB changes: Add a button to the allowed cookies outline views to block cookies and two to the blocked cookies one to allow them; set the NSSplitView delegate to File's Owner. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53005

Patch Set 1 #

Total comments: 6

Patch Set 2 : clean up stuff. #

Patch Set 3 : change button labels #

Patch Set 4 : remove session only button for allowed cookies. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+456 lines, -84 lines) Patch
M chrome/app/nibs/CollectedCookies.xib View 1 2 3 24 chunks +341 lines, -84 lines 0 comments Download
M chrome/browser/cocoa/collected_cookies_mac.h View 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/collected_cookies_mac.mm View 1 2 3 5 chunks +99 lines, -0 lines 0 comments Download
Trybot results:  mac 
Commit: CQ not working?

Messages

Total messages: 3 (0 generated)
Bernhard Bauer
Please review.
4 years, 10 months ago (2010-07-19 17:34:46 UTC) #1
Nico
LG with debug junk removed This dialog looks pretty scary. But since only people who ...
4 years, 10 months ago (2010-07-19 18:24:44 UTC) #2
Bernhard Bauer
4 years, 10 months ago (2010-07-19 18:37:02 UTC) #3
On 2010/07/19 18:24:44, Nico wrote:
> LG with debug junk removed
> 
> This dialog looks pretty scary. But since only people who choose "I want pain"
> explicitly will see it, I guess that's ok

:-/ How should I go about making it less scary?

> http://codereview.chromium.org/2884024/diff/1/4
> File chrome/browser/cocoa/collected_cookies_mac.mm (right):
> 
> http://codereview.chromium.org/2884024/diff/1/4#newcode160
> chrome/browser/cocoa/collected_cookies_mac.mm:160: [self 
> addException:CONTENT_SETTING_ALLOW
> 2 more indent
> 
> http://codereview.chromium.org/2884024/diff/1/4#newcode161
> chrome/browser/cocoa/collected_cookies_mac.mm:161:
> forTreeController:blockedTreeController_];
> 2 more indent
> 
> http://codereview.chromium.org/2884024/diff/1/4#newcode164
> chrome/browser/cocoa/collected_cookies_mac.mm:164: -
> (IBAction)allowForSessionFromOrigin:(id)sender {
> dcheck that [sender tag] is either 0 or 1 (if that's true)?
> 
> http://codereview.chromium.org/2884024/diff/1/4#newcode168
> chrome/browser/cocoa/collected_cookies_mac.mm:168:
> forTreeController:controller];
> likewise

done.

> http://codereview.chromium.org/2884024/diff/1/4#newcode254
> chrome/browser/cocoa/collected_cookies_mac.mm:254: //    if
> (origin_node->CanCreateContentException()) {
> remove?

Oops, that shouldn't have been commented out.

> http://codereview.chromium.org/2884024/diff/1/4#newcode255
> chrome/browser/cocoa/collected_cookies_mac.mm:255: if (true) {
> remove?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be