Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / bookmarks / bookmark_bar_folder_button_cell.h
blobaaa6904e10be309efa640b414e95f7029b014c24
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
19 text:(NSString*)text
20 image:(NSImage*)image
21 menuController:(BookmarkContextMenuCocoaController*)menuController;
23 @end
25 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_