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.
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_
8 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h"
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
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 bookmarks::BookmarkNode
*)node
21 menuController
:(BookmarkContextMenuCocoaController
*)menuController
;
25 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_