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

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

Issue 10831025: mac: Remove now-unneeded includes of cocoa_protocols.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
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_BUTTON_CELL_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUTTON_CELL_H_
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUTTON_CELL_H_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUTTON_CELL_H_
7 7
8 #import "base/mac/cocoa_protocols.h"
9 #import "chrome/browser/ui/cocoa/gradient_button_cell.h" 8 #import "chrome/browser/ui/cocoa/gradient_button_cell.h"
10 9
11 class BookmarkNode; 10 class BookmarkNode;
12 11
13 // A button cell that handles drawing/highlighting of buttons in the 12 // A button cell that handles drawing/highlighting of buttons in the
14 // bookmark bar. This cell forwards mouseEntered/mouseExited events 13 // bookmark bar. This cell forwards mouseEntered/mouseExited events
15 // to its control view so that pseudo-menu operations 14 // to its control view so that pseudo-menu operations
16 // (e.g. hover-over to open) can be implemented. 15 // (e.g. hover-over to open) can be implemented.
17 @interface BookmarkButtonCell : GradientButtonCell<NSMenuDelegate> { 16 @interface BookmarkButtonCell : GradientButtonCell<NSMenuDelegate> {
18 @private 17 @private
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 image:(NSImage*)image; 59 image:(NSImage*)image;
61 60
62 // Set the color of text in this cell. 61 // Set the color of text in this cell.
63 - (void)setTextColor:(NSColor*)color; 62 - (void)setTextColor:(NSColor*)color;
64 63
65 - (BOOL)isFolderButtonCell; 64 - (BOOL)isFolderButtonCell;
66 65
67 @end 66 @end
68 67
69 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUTTON_CELL_H_ 68 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUTTON_CELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698