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

Unified Diff: chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h

Issue 10534093: TabContentsWrapper -> TabContents, part 37. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
Index: chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h
diff --git a/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h b/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h
index de78a127ac8e75d2f5ec0194610311f976f0beab..51e95acb66ce95d2f3c741ce5ef521fa7695965c 100644
--- a/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h
+++ b/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h
@@ -17,14 +17,13 @@
@class CookieDetailsViewController;
@class VerticalGradientView;
class TabContents;
-typedef TabContents TabContentsWrapper;
// The constrained window delegate reponsible for managing the collected
// cookies dialog.
class CollectedCookiesMac : public ConstrainedWindowMacDelegateCustomSheet,
public content::NotificationObserver {
public:
- CollectedCookiesMac(NSWindow* parent, TabContentsWrapper* wrapper);
+ CollectedCookiesMac(NSWindow* parent, TabContents* tab_contents);
void OnSheetDidEnd(NSWindow* sheet);
@@ -88,7 +87,7 @@ class CollectedCookiesMac : public ConstrainedWindowMacDelegateCustomSheet,
scoped_nsobject<CookieDetailsViewController> detailsViewController_;
- TabContentsWrapper* wrapper_; // weak
+ TabContents* tab_contents_; // weak
BOOL infoBarVisible_;
@@ -100,8 +99,8 @@ class CollectedCookiesMac : public ConstrainedWindowMacDelegateCustomSheet,
@property(assign, nonatomic) BOOL allowedCookiesButtonsEnabled;
@property(assign, nonatomic) BOOL blockedCookiesButtonsEnabled;
-// Designated initializer. TabContentsWrapper cannot be NULL.
-- (id)initWithTabContentsWrapper:(TabContentsWrapper*)wrapper;
+// Designated initializer. TabContents cannot be NULL.
+- (id)initWithTabContents:(TabContents*)tab_contents;
// Closes the sheet and ends the modal loop. This will also cleanup the memory.
- (IBAction)closeSheet:(id)sender;
@@ -120,5 +119,5 @@ class CollectedCookiesMac : public ConstrainedWindowMacDelegateCustomSheet,
- (CookiesTreeModel*)allowedTreeModel;
- (CookiesTreeModel*)blockedTreeModel;
-- (void)loadTreeModelFromTabContentsWrapper;
+- (void)loadTreeModelFromTabContents;
@end
« no previous file with comments | « chrome/browser/ui/cocoa/constrained_window_mac.mm ('k') | chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698