| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/mac/scoped_nsobject.h" | 7 #include "base/mac/scoped_nsobject.h" |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "chrome/browser/browsing_data/cookies_tree_model.h" | 10 #include "chrome/browser/browsing_data/cookies_tree_model.h" |
| 10 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" | 11 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" |
| 11 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h" | 12 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h" |
| 12 #import "chrome/browser/ui/cocoa/content_settings/cookies_tree_controller_bridge
.h" | 13 #import "chrome/browser/ui/cocoa/content_settings/cookies_tree_controller_bridge
.h" |
| 13 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
| 14 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
| 15 | 16 |
| 16 @class CollectedCookiesWindowController; | 17 @class CollectedCookiesWindowController; |
| 17 @class CookieDetailsViewController; | 18 @class CookieDetailsViewController; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 - (CookiesTreeModel*)allowedTreeModel; | 142 - (CookiesTreeModel*)allowedTreeModel; |
| 142 - (CookiesTreeModel*)blockedTreeModel; | 143 - (CookiesTreeModel*)blockedTreeModel; |
| 143 | 144 |
| 144 - (void)loadTreeModelFromWebContents; | 145 - (void)loadTreeModelFromWebContents; |
| 145 | 146 |
| 146 // Given an array of selected NSTreeNode objects, normalizes the selection so | 147 // Given an array of selected NSTreeNode objects, normalizes the selection so |
| 147 // that it does not contain any children whose parents are also in the array. | 148 // that it does not contain any children whose parents are also in the array. |
| 148 + (NSArray*)normalizeNodeSelection:(NSArray*)selection; | 149 + (NSArray*)normalizeNodeSelection:(NSArray*)selection; |
| 149 | 150 |
| 150 @end | 151 @end |
| OLD | NEW |