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

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

Issue 6258017: Mac: Never have a space between @property and ( (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #import "base/mac/cocoa_protocols.h" 9 #import "base/mac/cocoa_protocols.h"
10 #import "chrome/browser/ui/cocoa/gradient_button_cell.h" 10 #import "chrome/browser/ui/cocoa/gradient_button_cell.h"
(...skipping 12 matching lines...) Expand all
23 int startingChildIndex_; 23 int startingChildIndex_;
24 24
25 // Should we draw the folder arrow as needed? Not used for the bar 25 // Should we draw the folder arrow as needed? Not used for the bar
26 // itself but used on the folder windows. 26 // itself but used on the folder windows.
27 BOOL drawFolderArrow_; 27 BOOL drawFolderArrow_;
28 28
29 // Arrow for folders 29 // Arrow for folders
30 scoped_nsobject<NSImage> arrowImage_; 30 scoped_nsobject<NSImage> arrowImage_;
31 } 31 }
32 32
33 @property (nonatomic, readwrite, assign) const BookmarkNode* bookmarkNode; 33 @property(nonatomic, readwrite, assign) const BookmarkNode* bookmarkNode;
34 @property (nonatomic, readwrite, assign) int startingChildIndex; 34 @property(nonatomic, readwrite, assign) int startingChildIndex;
35 @property (nonatomic, readwrite, assign) BOOL drawFolderArrow; 35 @property(nonatomic, readwrite, assign) BOOL drawFolderArrow;
36 36
37 // Create a button cell which draws with a theme. 37 // Create a button cell which draws with a theme.
38 + (id)buttonCellForNode:(const BookmarkNode*)node 38 + (id)buttonCellForNode:(const BookmarkNode*)node
39 contextMenu:(NSMenu*)contextMenu 39 contextMenu:(NSMenu*)contextMenu
40 cellText:(NSString*)cellText 40 cellText:(NSString*)cellText
41 cellImage:(NSImage*)cellImage; 41 cellImage:(NSImage*)cellImage;
42 42
43 // Initialize a button cell which draws with a theme. 43 // Initialize a button cell which draws with a theme.
44 // Designated initializer. 44 // Designated initializer.
45 - (id)initForNode:(const BookmarkNode*)node 45 - (id)initForNode:(const BookmarkNode*)node
(...skipping 10 matching lines...) Expand all
56 // there is not. If |title| is nil, do not reset the title. 56 // there is not. If |title| is nil, do not reset the title.
57 - (void)setBookmarkCellText:(NSString*)title 57 - (void)setBookmarkCellText:(NSString*)title
58 image:(NSImage*)image; 58 image:(NSImage*)image;
59 59
60 // Set the color of text in this cell. 60 // Set the color of text in this cell.
61 - (void)setTextColor:(NSColor*)color; 61 - (void)setTextColor:(NSColor*)color;
62 62
63 @end 63 @end
64 64
65 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUTTON_CELL_H_ 65 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUTTON_CELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698