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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_ 7 8 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h" 9 10 // A button cell that handles drawing/highlighting of buttons in the 11 // bookmark bar. This cell forwards mouseEntered/mouseExited events 12 // to its control view so that pseudo-menu operations 13 // (e.g. hover-over to open) can be implemented. 14 @interface BookmarkBarFolderButtonCell : BookmarkButtonCell 15 16 // Create a button cell which draws without a theme and with a frame 17 // color provided by the ThemeService defaults. 18 + (id)buttonCellForNode:(const BookmarkNode*)node 19 text:(NSString*)text 20 image:(NSImage*)image 21 menuController:(BookmarkContextMenuCocoaController*)menuController; 22 23 @end 24 25 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_ 26