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

Unified Diff: chrome/browser/cocoa/cookies_window_controller.h

Issue 546102: [Mac] Fix a crash in the cookies manager that was caused by an invalid selection. (Closed)
Patch Set: do'h Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/nibs/Cookies.xib ('k') | chrome/browser/cocoa/cookies_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/cookies_window_controller.h
diff --git a/chrome/browser/cocoa/cookies_window_controller.h b/chrome/browser/cocoa/cookies_window_controller.h
index 18e4434064cea566dfa72b1a91edb84cfb987eb6..fac226ab80eafd462564f02492eb35428fdd30cd 100644
--- a/chrome/browser/cocoa/cookies_window_controller.h
+++ b/chrome/browser/cocoa/cookies_window_controller.h
@@ -81,10 +81,14 @@ class CookiesTreeModelObserverBridge : public TreeModelObserver {
// Our Cocoa copy of the model.
scoped_nsobject<CocoaCookieTreeNode> cocoaTreeModel_;
+ // A flag indicating whether or not the "Remove" button should be enabled.
+ BOOL removeButtonEnabled_;
+
IBOutlet NSTreeController* treeController_;
Profile* profile_; // weak
}
+@property (assign, nonatomic) BOOL removeButtonEnabled;
@property (readonly, nonatomic) NSTreeController* treeController;
// Designated initializer. Profile cannot be NULL.
« no previous file with comments | « chrome/app/nibs/Cookies.xib ('k') | chrome/browser/cocoa/cookies_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698