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

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

Issue 6546073: More OOLing on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yeap Created 9 years, 10 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) 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 14 matching lines...) Expand all
25 25
26 void OnSheetDidEnd(NSWindow* sheet); 26 void OnSheetDidEnd(NSWindow* sheet);
27 27
28 // ConstrainedWindowMacDelegateCustomSheet implementation. 28 // ConstrainedWindowMacDelegateCustomSheet implementation.
29 virtual void DeleteDelegate(); 29 virtual void DeleteDelegate();
30 30
31 private: 31 private:
32 virtual ~CollectedCookiesMac(); 32 virtual ~CollectedCookiesMac();
33 33
34 // NotificationObserver implementation. 34 // NotificationObserver implementation.
35 void Observe(NotificationType type, 35 virtual void Observe(NotificationType type,
36 const NotificationSource& source, 36 const NotificationSource& source,
37 const NotificationDetails& details); 37 const NotificationDetails& details);
38 38
39 NotificationRegistrar registrar_; 39 NotificationRegistrar registrar_;
40 40
41 ConstrainedWindow* window_; 41 ConstrainedWindow* window_;
42 42
43 TabContents* tab_contents_; 43 TabContents* tab_contents_;
44 44
45 CollectedCookiesWindowController* sheet_controller_; 45 CollectedCookiesWindowController* sheet_controller_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesMac); 47 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesMac);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 - (CocoaCookieTreeNode*)cocoaBlockedTreeModel; 114 - (CocoaCookieTreeNode*)cocoaBlockedTreeModel;
115 - (void)setCocoaAllowedTreeModel:(CocoaCookieTreeNode*)model; 115 - (void)setCocoaAllowedTreeModel:(CocoaCookieTreeNode*)model;
116 - (void)setCocoaBlockedTreeModel:(CocoaCookieTreeNode*)model; 116 - (void)setCocoaBlockedTreeModel:(CocoaCookieTreeNode*)model;
117 117
118 // Returns the allowedTreeModel_ and blockedTreeModel_. 118 // Returns the allowedTreeModel_ and blockedTreeModel_.
119 - (CookiesTreeModel*)allowedTreeModel; 119 - (CookiesTreeModel*)allowedTreeModel;
120 - (CookiesTreeModel*)blockedTreeModel; 120 - (CookiesTreeModel*)blockedTreeModel;
121 121
122 - (void)loadTreeModelFromTabContents; 122 - (void)loadTreeModelFromTabContents;
123 @end 123 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_test_helper.cc ('k') | chrome/browser/ui/cocoa/download/download_shelf_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698