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

Side by Side Diff: chrome/browser/ui/cocoa/cookie_tree_node.h

Issue 6294008: [Mac] Organize some files into chrome/browser/ui/cocoa/content_settings/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #import <Cocoa/Cocoa.h>
6
7 #include "base/scoped_nsobject.h"
8 #include "chrome/browser/cookies_tree_model.h"
9 #include "chrome/browser/ui/cocoa/cookie_details.h"
10
11 @interface CocoaCookieTreeNode : NSObject {
12 scoped_nsobject<NSString> title_;
13 scoped_nsobject<NSMutableArray> children_;
14 scoped_nsobject<CocoaCookieDetails> details_;
15 CookieTreeNode* treeNode_; // weak
16 }
17
18 // Designated initializer.
19 - (id)initWithNode:(CookieTreeNode*)node;
20
21 // Re-sets all the members of the node based on |treeNode_|.
22 - (void)rebuild;
23
24 // Common getters..
25 - (NSString*)title;
26 - (CocoaCookieDetailsType)nodeType;
27 - (ui::TreeModelNode*)treeNode;
28
29 // |-mutableChildren| exists so that the CookiesTreeModelObserverBridge can
30 // operate on the children. Note that this lazily creates children.
31 - (NSMutableArray*)mutableChildren;
32 - (NSArray*)children;
33 - (BOOL)isLeaf;
34
35 - (CocoaCookieDetails*)details;
36
37 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698