Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.h

Issue 865163003: bookmarks: Move BookmarkNode into 'bookmarks' namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enhanced_bookmarks fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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_FOLDER_BUTTON_CELL_H_ 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_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_
7 7
8 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h" 8 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h"
9 9
10 // A button cell that handles drawing/highlighting of buttons in the 10 // A button cell that handles drawing/highlighting of buttons in the
11 // bookmark bar. This cell forwards mouseEntered/mouseExited events 11 // bookmark bar. This cell forwards mouseEntered/mouseExited events
12 // to its control view so that pseudo-menu operations 12 // to its control view so that pseudo-menu operations
13 // (e.g. hover-over to open) can be implemented. 13 // (e.g. hover-over to open) can be implemented.
14 @interface BookmarkBarFolderButtonCell : BookmarkButtonCell 14 @interface BookmarkBarFolderButtonCell : BookmarkButtonCell
15 15
16 // Create a button cell which draws without a theme and with a frame 16 // Create a button cell which draws without a theme and with a frame
17 // color provided by the ThemeService defaults. 17 // color provided by the ThemeService defaults.
18 + (id)buttonCellForNode:(const BookmarkNode*)node 18 + (id)buttonCellForNode:(const bookmarks::BookmarkNode*)node
19 text:(NSString*)text 19 text:(NSString*)text
20 image:(NSImage*)image 20 image:(NSImage*)image
21 menuController:(BookmarkContextMenuCocoaController*)menuController; 21 menuController:(BookmarkContextMenuCocoaController*)menuController;
22 22
23 @end 23 @end
24 24
25 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_ 25 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698