diff options
Diffstat (limited to 'chrome/browser/cocoa/bookmark_bar_controller.h')
-rw-r--r-- | chrome/browser/cocoa/bookmark_bar_controller.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_controller.h b/chrome/browser/cocoa/bookmark_bar_controller.h index e80cfa1..8ab0e8c 100644 --- a/chrome/browser/cocoa/bookmark_bar_controller.h +++ b/chrome/browser/cocoa/bookmark_bar_controller.h @@ -13,6 +13,7 @@ #include "chrome/browser/cocoa/bookmark_bar_bridge.h" #import "chrome/browser/cocoa/bookmark_bar_state.h" #import "chrome/browser/cocoa/bookmark_bar_toolbar_view.h" +#import "chrome/browser/cocoa/bookmark_button.h" #include "chrome/browser/cocoa/tab_strip_model_observer_bridge.h" #include "webkit/glue/window_open_disposition.h" @@ -66,7 +67,9 @@ willAnimateFromState:(bookmarks::VisualState)oldState // A controller for the bookmark bar in the browser window. Handles showing // and hiding based on the preference in the given profile. @interface BookmarkBarController : - NSViewController<BookmarkBarState, BookmarkBarToolbarViewController> { + NSViewController<BookmarkBarState, + BookmarkBarToolbarViewController, + BookmarkButtonDelegate> { @private // The visual state of the bookmark bar. If an animation is running, this is // set to the "destination" and |lastVisualState_| is set to the "original" @@ -242,4 +245,9 @@ willAnimateFromState:(bookmarks::VisualState)oldState - (void)updateTheme:(GTMTheme*)theme; @end +// The (internal) |NSPasteboard| type string for bookmark button drags, used for +// dragging buttons around the bookmark bar. The data for this type is just a +// pointer to the |BookmarkButton| being dragged. +extern NSString* kBookmarkButtonDragType; + #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONTROLLER_H_ |