| 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" |
| 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/cookie_tree_node.h" | 12 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h" |
| 13 #include "chrome/common/notification_registrar.h" | 13 #include "chrome/common/notification_registrar.h" |
| 14 | 14 |
| 15 @class CollectedCookiesWindowController; | 15 @class CollectedCookiesWindowController; |
| 16 @class VerticalGradientView; | 16 @class VerticalGradientView; |
| 17 class TabContents; | 17 class TabContents; |
| 18 | 18 |
| 19 // The constrained window delegate reponsible for managing the collected | 19 // The constrained window delegate reponsible for managing the collected |
| 20 // cookies dialog. | 20 // cookies dialog. |
| 21 class CollectedCookiesMac : public ConstrainedWindowMacDelegateCustomSheet, | 21 class CollectedCookiesMac : public ConstrainedWindowMacDelegateCustomSheet, |
| 22 public NotificationObserver { | 22 public NotificationObserver { |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |