| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #import "base/mac/cocoa_protocols.h" | 7 #import "base/mac/cocoa_protocols.h" |
| 8 #include "base/scoped_nsobject.h" | 8 #include "base/scoped_nsobject.h" |
| 9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "chrome/browser/cookies_tree_model.h" | 10 #include "chrome/browser/cookies_tree_model.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 IBOutlet NSView* cookieDetailsViewPlaceholder_; | 101 IBOutlet NSView* cookieDetailsViewPlaceholder_; |
| 102 IBOutlet NSButton* removeButton_; | 102 IBOutlet NSButton* removeButton_; |
| 103 | 103 |
| 104 scoped_nsobject<CookieDetailsViewController> detailsViewController_; | 104 scoped_nsobject<CookieDetailsViewController> detailsViewController_; |
| 105 Profile* profile_; // weak | 105 Profile* profile_; // weak |
| 106 BrowsingDataDatabaseHelper* databaseHelper_; // weak | 106 BrowsingDataDatabaseHelper* databaseHelper_; // weak |
| 107 BrowsingDataLocalStorageHelper* storageHelper_; // weak | 107 BrowsingDataLocalStorageHelper* storageHelper_; // weak |
| 108 BrowsingDataAppCacheHelper* appcacheHelper_; // weak | 108 BrowsingDataAppCacheHelper* appcacheHelper_; // weak |
| 109 BrowsingDataIndexedDBHelper* indexedDBHelper_; // weak | 109 BrowsingDataIndexedDBHelper* indexedDBHelper_; // weak |
| 110 } | 110 } |
| 111 @property (assign, nonatomic) BOOL removeButtonEnabled; | 111 @property(assign, nonatomic) BOOL removeButtonEnabled; |
| 112 @property (readonly, nonatomic) NSTreeController* treeController; | 112 @property(readonly, nonatomic) NSTreeController* treeController; |
| 113 | 113 |
| 114 // Designated initializer. Profile cannot be NULL. | 114 // Designated initializer. Profile cannot be NULL. |
| 115 - (id)initWithProfile:(Profile*)profile | 115 - (id)initWithProfile:(Profile*)profile |
| 116 databaseHelper:(BrowsingDataDatabaseHelper*)databaseHelper | 116 databaseHelper:(BrowsingDataDatabaseHelper*)databaseHelper |
| 117 storageHelper:(BrowsingDataLocalStorageHelper*)storageHelper | 117 storageHelper:(BrowsingDataLocalStorageHelper*)storageHelper |
| 118 appcacheHelper:(BrowsingDataAppCacheHelper*)appcacheHelper | 118 appcacheHelper:(BrowsingDataAppCacheHelper*)appcacheHelper |
| 119 indexedDBHelper:(BrowsingDataIndexedDBHelper*)indexedDBHelper; | 119 indexedDBHelper:(BrowsingDataIndexedDBHelper*)indexedDBHelper; |
| 120 | 120 |
| 121 // Shows the cookies window as a modal sheet attached to |window|. | 121 // Shows the cookies window as a modal sheet attached to |window|. |
| 122 - (void)attachSheetTo:(NSWindow*)window; | 122 - (void)attachSheetTo:(NSWindow*)window; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 140 | 140 |
| 141 @end | 141 @end |
| 142 | 142 |
| 143 @interface CookiesWindowController (UnitTesting) | 143 @interface CookiesWindowController (UnitTesting) |
| 144 - (void)deleteNodeAtIndexPath:(NSIndexPath*)path; | 144 - (void)deleteNodeAtIndexPath:(NSIndexPath*)path; |
| 145 - (void)clearBrowsingDataNotification:(NSNotification*)notif; | 145 - (void)clearBrowsingDataNotification:(NSNotification*)notif; |
| 146 - (CookiesTreeModelObserverBridge*)modelObserver; | 146 - (CookiesTreeModelObserverBridge*)modelObserver; |
| 147 - (NSArray*)icons; | 147 - (NSArray*)icons; |
| 148 - (void)loadTreeModelFromProfile; | 148 - (void)loadTreeModelFromProfile; |
| 149 @end | 149 @end |
| OLD | NEW |