OLD | NEW |
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_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
14 | 15 |
15 @class CollectedCookiesWindowController; | 16 @class CollectedCookiesWindowController; |
16 @class CookieDetailsViewController; | 17 @class CookieDetailsViewController; |
17 @class VerticalGradientView; | 18 @class VerticalGradientView; |
18 class TabContentsWrapper; | 19 class TabContentsWrapper; |
19 | 20 |
20 // The constrained window delegate reponsible for managing the collected | 21 // The constrained window delegate reponsible for managing the collected |
21 // cookies dialog. | 22 // cookies dialog. |
22 class CollectedCookiesMac : public ConstrainedWindowMacDelegateCustomSheet, | 23 class CollectedCookiesMac : public ConstrainedWindowMacDelegateCustomSheet, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 - (CocoaCookieTreeNode*)cocoaBlockedTreeModel; | 114 - (CocoaCookieTreeNode*)cocoaBlockedTreeModel; |
114 - (void)setCocoaAllowedTreeModel:(CocoaCookieTreeNode*)model; | 115 - (void)setCocoaAllowedTreeModel:(CocoaCookieTreeNode*)model; |
115 - (void)setCocoaBlockedTreeModel:(CocoaCookieTreeNode*)model; | 116 - (void)setCocoaBlockedTreeModel:(CocoaCookieTreeNode*)model; |
116 | 117 |
117 // Returns the |allowedTreeModel_| and |blockedTreeModel_|. | 118 // Returns the |allowedTreeModel_| and |blockedTreeModel_|. |
118 - (CookiesTreeModel*)allowedTreeModel; | 119 - (CookiesTreeModel*)allowedTreeModel; |
119 - (CookiesTreeModel*)blockedTreeModel; | 120 - (CookiesTreeModel*)blockedTreeModel; |
120 | 121 |
121 - (void)loadTreeModelFromTabContentsWrapper; | 122 - (void)loadTreeModelFromTabContentsWrapper; |
122 @end | 123 @end |
OLD | NEW |