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

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

Issue 353024: Mac: Enable OK Button when editing a bookmark text to be blank... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 1 month 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_COCOA_BOOKMARK_BUTTON_CELL_H_ 5 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BUTTON_CELL_H_
6 #define CHROME_BROWSER_COCOA_BOOKMARK_BUTTON_CELL_H_ 6 #define CHROME_BROWSER_COCOA_BOOKMARK_BUTTON_CELL_H_
7 7
8 #import "base/cocoa_protocols_mac.h" 8 #import "base/cocoa_protocols_mac.h"
9 #import "chrome/browser/cocoa/gradient_button_cell.h" 9 #import "chrome/browser/cocoa/gradient_button_cell.h"
10 10
11 // A button cell that handles drawing/highlighting of buttons in the 11 // A button cell that handles drawing/highlighting of buttons in the
12 // bookmark bar. 12 // bookmark bar.
13 13
14 @interface BookmarkButtonCell : GradientButtonCell<NSMenuDelegate> { 14 @interface BookmarkButtonCell : GradientButtonCell<NSMenuDelegate> {
15 } 15 }
16 // |-setBookmarkCellText:image:| is used to set the text and image
17 // of a BookmarkButtonCell, and align the image to the left (NSImageLeft)
18 // if there is text in the title, and centered (NSImageCenter) if there is
mrossetti 2009/11/05 03:26:14 What does that last part of the comment, "...if th
19 - (void)setBookmarkCellText:(NSString*)title
20 image:(NSImage*)image;
16 @end 21 @end
17 22
18 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BUTTON_CELL_H_ 23 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BUTTON_CELL_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_controller.mm ('k') | chrome/browser/cocoa/bookmark_button_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698