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

Side by Side Diff: chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/memory/scoped_nsobject.h" 8 #include "base/memory/scoped_nsobject.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/cookies_tree_model.h" 10 #include "chrome/browser/cookies_tree_model.h"
11 #include "chrome/browser/ui/cocoa/constrained_window_mac.h" 11 #include "chrome/browser/ui/cocoa/constrained_window_mac.h"
12 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h" 12 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h"
13 #include "content/public/browser/notification_observer.h" 13 #include "content/public/browser/notification_observer.h"
14 #include "content/public/browser/notification_registrar.h" 14 #include "content/public/browser/notification_registrar.h"
15 15
16 @class CollectedCookiesWindowController; 16 @class CollectedCookiesWindowController;
17 @class CookieDetailsViewController; 17 @class CookieDetailsViewController;
18 @class VerticalGradientView; 18 @class VerticalGradientView;
19 class TabContentsWrapper; 19 class TabContents;
20 typedef TabContents TabContentsWrapper;
20 21
21 // The constrained window delegate reponsible for managing the collected 22 // The constrained window delegate reponsible for managing the collected
22 // cookies dialog. 23 // cookies dialog.
23 class CollectedCookiesMac : public ConstrainedWindowMacDelegateCustomSheet, 24 class CollectedCookiesMac : public ConstrainedWindowMacDelegateCustomSheet,
24 public content::NotificationObserver { 25 public content::NotificationObserver {
25 public: 26 public:
26 CollectedCookiesMac(NSWindow* parent, TabContentsWrapper* wrapper); 27 CollectedCookiesMac(NSWindow* parent, TabContentsWrapper* wrapper);
27 28
28 void OnSheetDidEnd(NSWindow* sheet); 29 void OnSheetDidEnd(NSWindow* sheet);
29 30
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 - (CocoaCookieTreeNode*)cocoaBlockedTreeModel; 115 - (CocoaCookieTreeNode*)cocoaBlockedTreeModel;
115 - (void)setCocoaAllowedTreeModel:(CocoaCookieTreeNode*)model; 116 - (void)setCocoaAllowedTreeModel:(CocoaCookieTreeNode*)model;
116 - (void)setCocoaBlockedTreeModel:(CocoaCookieTreeNode*)model; 117 - (void)setCocoaBlockedTreeModel:(CocoaCookieTreeNode*)model;
117 118
118 // Returns the |allowedTreeModel_| and |blockedTreeModel_|. 119 // Returns the |allowedTreeModel_| and |blockedTreeModel_|.
119 - (CookiesTreeModel*)allowedTreeModel; 120 - (CookiesTreeModel*)allowedTreeModel;
120 - (CookiesTreeModel*)blockedTreeModel; 121 - (CookiesTreeModel*)blockedTreeModel;
121 122
122 - (void)loadTreeModelFromTabContentsWrapper; 123 - (void)loadTreeModelFromTabContentsWrapper;
123 @end 124 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/constrained_window_mac.h ('k') | chrome/browser/ui/cocoa/infobars/infobar_container_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698