| 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 <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 node:(const bookmarks::BookmarkNode*)node; | 473 node:(const bookmarks::BookmarkNode*)node; |
| 474 - (void)nodeChildrenReordered:(bookmarks::BookmarkModel*)model | 474 - (void)nodeChildrenReordered:(bookmarks::BookmarkModel*)model |
| 475 node:(const bookmarks::BookmarkNode*)node; | 475 node:(const bookmarks::BookmarkNode*)node; |
| 476 @end | 476 @end |
| 477 | 477 |
| 478 // These APIs should only be used by unit tests (or used internally). | 478 // These APIs should only be used by unit tests (or used internally). |
| 479 @interface BookmarkBarController(InternalOrTestingAPI) | 479 @interface BookmarkBarController(InternalOrTestingAPI) |
| 480 - (bookmarks::BookmarkBarLayout)layoutFromCurrentState; | 480 - (bookmarks::BookmarkBarLayout)layoutFromCurrentState; |
| 481 - (void)applyLayout:(const bookmarks::BookmarkBarLayout&)layout | 481 - (void)applyLayout:(const bookmarks::BookmarkBarLayout&)layout |
| 482 animated:(BOOL)animated; | 482 animated:(BOOL)animated; |
| 483 - (void)rebuildLayoutWithAnimated:(BOOL)animated; |
| 483 - (void)openBookmarkFolder:(id)sender; | 484 - (void)openBookmarkFolder:(id)sender; |
| 484 - (void)openOrCloseBookmarkFolderForOffTheSideButton; | 485 - (void)openOrCloseBookmarkFolderForOffTheSideButton; |
| 485 - (BookmarkBarView*)buttonView; | 486 - (BookmarkBarView*)buttonView; |
| 486 - (NSMutableArray*)buttons; | 487 - (NSMutableArray*)buttons; |
| 487 - (BookmarkButton*)otherBookmarksButton; | 488 - (BookmarkButton*)otherBookmarksButton; |
| 488 - (BookmarkButton*)managedBookmarksButton; | 489 - (BookmarkButton*)managedBookmarksButton; |
| 489 - (BookmarkButton*)supervisedBookmarksButton; | 490 - (BookmarkButton*)supervisedBookmarksButton; |
| 490 - (BookmarkButton*)otherBookmarksButton; | 491 - (BookmarkButton*)otherBookmarksButton; |
| 491 - (BookmarkBarFolderController*)folderController; | 492 - (BookmarkBarFolderController*)folderController; |
| 492 - (id)folderTarget; | 493 - (id)folderTarget; |
| 493 - (void)openURL:(GURL)url disposition:(WindowOpenDisposition)disposition; | 494 - (void)openURL:(GURL)url disposition:(WindowOpenDisposition)disposition; |
| 494 - (void)clearBookmarkBar; | 495 - (void)clearBookmarkBar; |
| 495 - (BookmarkButtonCell*)cellForBookmarkNode:(const bookmarks::BookmarkNode*)node; | 496 - (BookmarkButtonCell*)cellForBookmarkNode:(const bookmarks::BookmarkNode*)node; |
| 496 - (BookmarkButtonCell*)cellForCustomButtonWithText:(NSString*)text | 497 - (BookmarkButtonCell*)cellForCustomButtonWithText:(NSString*)text |
| 497 image:(NSImage*)image; | 498 image:(NSImage*)image; |
| 498 - (void)checkForBookmarkButtonGrowth:(NSButton*)button; | 499 - (void)checkForBookmarkButtonGrowth:(NSButton*)button; |
| 499 - (void)frameDidChange; | 500 - (void)frameDidChange; |
| 500 - (void)updateTheme:(const ui::ThemeProvider*)themeProvider; | 501 - (void)updateTheme:(const ui::ThemeProvider*)themeProvider; |
| 501 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point; | 502 - (BookmarkButton*)buttonForDroppingOnAtPoint:(NSPoint)point; |
| 502 - (BOOL)isEventAnExitEvent:(NSEvent*)event; | 503 - (BOOL)isEventAnExitEvent:(NSEvent*)event; |
| 503 - (void)unhighlightBookmark:(const bookmarks::BookmarkNode*)node; | 504 - (void)unhighlightBookmark:(const bookmarks::BookmarkNode*)node; |
| 504 | 505 |
| 505 @end | 506 @end |
| 506 | 507 |
| 507 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ | 508 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONTROLLER_H_ |
| OLD | NEW |