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

Side by Side Diff: chrome/browser/cocoa/bookmark_editor_base_controller.h

Issue 2762014: Mac: clang build (Closed)
Patch Set: more Created 10 years, 6 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
OLDNEW
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 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_EDITOR_BASE_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ 6 #define CHROME_BROWSER_COCOA_BOOKMARK_EDITOR_BASE_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "base/cocoa_protocols_mac.h" 10 #import "base/cocoa_protocols_mac.h"
(...skipping 28 matching lines...) Expand all
39 // An array of BookmarkFolderInfo where each item describes a folder in the 39 // An array of BookmarkFolderInfo where each item describes a folder in the
40 // BookmarkNode structure. 40 // BookmarkNode structure.
41 scoped_nsobject<NSArray> folderTreeArray_; 41 scoped_nsobject<NSArray> folderTreeArray_;
42 // Bound to the table view giving a path to the current selections, of which 42 // Bound to the table view giving a path to the current selections, of which
43 // there should only ever be one. 43 // there should only ever be one.
44 scoped_nsobject<NSArray> tableSelectionPaths_; 44 scoped_nsobject<NSArray> tableSelectionPaths_;
45 // C++ bridge object that observes the BookmarkModel for me. 45 // C++ bridge object that observes the BookmarkModel for me.
46 scoped_ptr<BookmarkEditorBaseControllerBridge> observer_; 46 scoped_ptr<BookmarkEditorBaseControllerBridge> observer_;
47 } 47 }
48 48
49 @property (copy) NSString* initialName; 49 @property (nonatomic, copy) NSString* initialName;
50 @property (copy) NSString* displayName; 50 @property (nonatomic, copy) NSString* displayName;
51 @property (assign) BOOL okEnabled; 51 @property (nonatomic, assign) BOOL okEnabled;
52 @property (retain, readonly) NSArray* folderTreeArray; 52 @property (nonatomic, retain, readonly) NSArray* folderTreeArray;
53 @property (copy) NSArray* tableSelectionPaths; 53 @property (nonatomic, copy) NSArray* tableSelectionPaths;
54 54
55 // Designated initializer. Derived classes should call through to this init. 55 // Designated initializer. Derived classes should call through to this init.
56 - (id)initWithParentWindow:(NSWindow*)parentWindow 56 - (id)initWithParentWindow:(NSWindow*)parentWindow
57 nibName:(NSString*)nibName 57 nibName:(NSString*)nibName
58 profile:(Profile*)profile 58 profile:(Profile*)profile
59 parent:(const BookmarkNode*)parent 59 parent:(const BookmarkNode*)parent
60 configuration:(BookmarkEditor::Configuration)configuration; 60 configuration:(BookmarkEditor::Configuration)configuration;
61 61
62 // Run the bookmark editor as a modal sheet. Does not block. 62 // Run the bookmark editor as a modal sheet. Does not block.
63 - (void)runAsModalSheet; 63 - (void)runAsModalSheet;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 // Select the given bookmark node within the tree view. 162 // Select the given bookmark node within the tree view.
163 - (void)selectTestNodeInBrowser:(const BookmarkNode*)node; 163 - (void)selectTestNodeInBrowser:(const BookmarkNode*)node;
164 164
165 // Return the dictionary for the folder selected in the tree. 165 // Return the dictionary for the folder selected in the tree.
166 - (BookmarkFolderInfo*)selectedFolder; 166 - (BookmarkFolderInfo*)selectedFolder;
167 167
168 @end 168 @end
169 169
170 #endif // CHROME_BROWSER_COCOA_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ 170 #endif // CHROME_BROWSER_COCOA_BOOKMARK_EDITOR_BASE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_button_cell.h ('k') | chrome/browser/cocoa/bookmark_editor_base_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698