| 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 #ifndef CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_COLLECTED_COOKIES_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_COLLECTED_COOKIES_MAC_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include <memory> | 10 #include <memory> |
| 8 | 11 |
| 9 #include "base/mac/scoped_nsobject.h" | 12 #include "base/mac/scoped_nsobject.h" |
| 10 #include "base/macros.h" | 13 #include "base/macros.h" |
| 11 #include "chrome/browser/browsing_data/cookies_tree_model.h" | 14 #include "chrome/browser/browsing_data/cookies_tree_model.h" |
| 12 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" | 15 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" |
| 13 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h" | 16 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h" |
| 14 #import "chrome/browser/ui/cocoa/content_settings/cookies_tree_controller_bridge
.h" | 17 #import "chrome/browser/ui/cocoa/content_settings/cookies_tree_controller_bridge
.h" |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 - (CookiesTreeModel*)allowedTreeModel; | 146 - (CookiesTreeModel*)allowedTreeModel; |
| 144 - (CookiesTreeModel*)blockedTreeModel; | 147 - (CookiesTreeModel*)blockedTreeModel; |
| 145 | 148 |
| 146 - (void)loadTreeModelFromWebContents; | 149 - (void)loadTreeModelFromWebContents; |
| 147 | 150 |
| 148 // Given an array of selected NSTreeNode objects, normalizes the selection so | 151 // Given an array of selected NSTreeNode objects, normalizes the selection so |
| 149 // that it does not contain any children whose parents are also in the array. | 152 // that it does not contain any children whose parents are also in the array. |
| 150 + (NSArray*)normalizeNodeSelection:(NSArray*)selection; | 153 + (NSArray*)normalizeNodeSelection:(NSArray*)selection; |
| 151 | 154 |
| 152 @end | 155 @end |
| 156 |
| 157 #endif // CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_COLLECTED_COOKIES_MAC_H_ |
| OLD | NEW |