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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h

Issue 865163003: bookmarks: Move BookmarkNode into 'bookmarks' namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enhanced_bookmarks fix Created 5 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BAR_FOLDER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_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"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // Text typed by user, for type-select and arrow key support. 157 // Text typed by user, for type-select and arrow key support.
158 // Returns YES if the menu should be closed now. 158 // Returns YES if the menu should be closed now.
159 - (BOOL)handleInputText:(NSString*)newText; 159 - (BOOL)handleInputText:(NSString*)newText;
160 160
161 // If you wanted to clear the type-select buffer. Currently only used 161 // If you wanted to clear the type-select buffer. Currently only used
162 // internally. 162 // internally.
163 - (void)clearInputText; 163 - (void)clearInputText;
164 164
165 // Gets notified when a fav icon asynchronously loads, so we can now use the 165 // Gets notified when a fav icon asynchronously loads, so we can now use the
166 // real icon instead of a generic placeholder. 166 // real icon instead of a generic placeholder.
167 - (void)faviconLoadedForNode:(const BookmarkNode*)node; 167 - (void)faviconLoadedForNode:(const bookmarks::BookmarkNode*)node;
168 168
169 - (void)setSelectedButtonByIndex:(int)index; 169 - (void)setSelectedButtonByIndex:(int)index;
170 170
171 // Offset our folder menu window. This is usually needed in response to a 171 // Offset our folder menu window. This is usually needed in response to a
172 // parent folder menu window or the bookmark bar changing position due to 172 // parent folder menu window or the bookmark bar changing position due to
173 // the dragging of a bookmark node from the parent into this folder menu. 173 // the dragging of a bookmark node from the parent into this folder menu.
174 - (void)offsetFolderMenuWindow:(NSSize)offset; 174 - (void)offsetFolderMenuWindow:(NSSize)offset;
175 175
176 // Re-layout the window menu in case some buttons were added or removed, 176 // Re-layout the window menu in case some buttons were added or removed,
177 // specifically as a result of the bookmark bar changing configuration 177 // specifically as a result of the bookmark bar changing configuration
(...skipping 28 matching lines...) Expand all
206 - (NSView*)visibleView; 206 - (NSView*)visibleView;
207 - (NSScrollView*)scrollView; 207 - (NSScrollView*)scrollView;
208 - (NSView*)folderView; 208 - (NSView*)folderView;
209 209
210 - (IBAction)openBookmarkFolderFromButton:(id)sender; 210 - (IBAction)openBookmarkFolderFromButton:(id)sender;
211 211
212 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point; 212 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point;
213 @end 213 @end
214 214
215 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_CONTROLLER_H_ 215 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698