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_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/browser/ui/bookmarks/bookmark_editor.h" | 12 #include "chrome/browser/ui/bookmarks/bookmark_editor.h" |
13 #include "components/bookmarks/core/browser/bookmark_expanded_state_tracker.h" | 13 #include "components/bookmarks/browser/bookmark_expanded_state_tracker.h" |
14 | 14 |
15 class BookmarkEditorBaseControllerBridge; | 15 class BookmarkEditorBaseControllerBridge; |
16 class BookmarkModel; | 16 class BookmarkModel; |
17 @class BookmarkTreeBrowserCell; | 17 @class BookmarkTreeBrowserCell; |
18 | 18 |
19 // A base controller class for bookmark creation and editing dialogs which | 19 // A base controller class for bookmark creation and editing dialogs which |
20 // present the current bookmark folder structure in a tree view. Do not | 20 // present the current bookmark folder structure in a tree view. Do not |
21 // instantiate this controller directly -- use one of its derived classes. | 21 // instantiate this controller directly -- use one of its derived classes. |
22 // NOTE: If a derived class is intended to be dispatched via the | 22 // NOTE: If a derived class is intended to be dispatched via the |
23 // BookmarkEditor::Show static function found in the accompanying | 23 // BookmarkEditor::Show static function found in the accompanying |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 // Select the given bookmark node within the tree view. | 178 // Select the given bookmark node within the tree view. |
179 - (void)selectTestNodeInBrowser:(const BookmarkNode*)node; | 179 - (void)selectTestNodeInBrowser:(const BookmarkNode*)node; |
180 | 180 |
181 // Return the dictionary for the folder selected in the tree. | 181 // Return the dictionary for the folder selected in the tree. |
182 - (BookmarkFolderInfo*)selectedFolder; | 182 - (BookmarkFolderInfo*)selectedFolder; |
183 | 183 |
184 @end | 184 @end |
185 | 185 |
186 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ | 186 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_EDITOR_BASE_CONTROLLER_H_ |
OLD | NEW |