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_BAR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 parent:(const BookmarkNode*)oldParent index:(int)index; | 382 parent:(const BookmarkNode*)oldParent index:(int)index; |
383 - (void)nodeFaviconLoaded:(BookmarkModel*)model | 383 - (void)nodeFaviconLoaded:(BookmarkModel*)model |
384 node:(const BookmarkNode*)node; | 384 node:(const BookmarkNode*)node; |
385 - (void)nodeChildrenReordered:(BookmarkModel*)model | 385 - (void)nodeChildrenReordered:(BookmarkModel*)model |
386 node:(const BookmarkNode*)node; | 386 node:(const BookmarkNode*)node; |
387 @end | 387 @end |
388 | 388 |
389 // These APIs should only be used by unit tests (or used internally). | 389 // These APIs should only be used by unit tests (or used internally). |
390 @interface BookmarkBarController(InternalOrTestingAPI) | 390 @interface BookmarkBarController(InternalOrTestingAPI) |
391 - (void)openBookmarkFolder:(id)sender; | 391 - (void)openBookmarkFolder:(id)sender; |
| 392 - (void)openOrCloseBookmarkFolderForOffTheSideButton; |
392 - (BookmarkBarView*)buttonView; | 393 - (BookmarkBarView*)buttonView; |
393 - (NSMutableArray*)buttons; | 394 - (NSMutableArray*)buttons; |
394 - (NSButton*)offTheSideButton; | 395 - (NSButton*)offTheSideButton; |
395 - (NSButton*)appsPageShortcutButton; | 396 - (NSButton*)appsPageShortcutButton; |
396 - (BOOL)offTheSideButtonIsHidden; | 397 - (BOOL)offTheSideButtonIsHidden; |
397 - (BOOL)appsPageShortcutButtonIsHidden; | 398 - (BOOL)appsPageShortcutButtonIsHidden; |
398 - (BookmarkButton*)otherBookmarksButton; | 399 - (BookmarkButton*)otherBookmarksButton; |
399 - (BookmarkBarFolderController*)folderController; | 400 - (BookmarkBarFolderController*)folderController; |
400 - (id)folderTarget; | 401 - (id)folderTarget; |
401 - (int)displayedButtonCount; | 402 - (int)displayedButtonCount; |
(...skipping 11 matching lines...) Expand all Loading... |
413 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point; | 414 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point; |
414 - (BOOL)isEventAnExitEvent:(NSEvent*)event; | 415 - (BOOL)isEventAnExitEvent:(NSEvent*)event; |
415 - (BOOL)shrinkOrHideView:(NSView*)view forMaxX:(CGFloat)maxViewX; | 416 - (BOOL)shrinkOrHideView:(NSView*)view forMaxX:(CGFloat)maxViewX; |
416 - (void)unhighlightBookmark:(const BookmarkNode*)node; | 417 - (void)unhighlightBookmark:(const BookmarkNode*)node; |
417 | 418 |
418 // The following are for testing purposes only and are not used internally. | 419 // The following are for testing purposes only and are not used internally. |
419 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node; | 420 - (NSMenu *)menuForFolderNode:(const BookmarkNode*)node; |
420 @end | 421 @end |
421 | 422 |
422 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ | 423 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ |
OLD | NEW |