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

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

Issue 149308: a bunch of bookmark bar changes (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
Property Changes:
Name: svn:eol-style
+ LF
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 #import "chrome/browser/cocoa/bookmark_button_cell.h" 5 #import "chrome/browser/cocoa/bookmark_button_cell.h"
6 6
7 @implementation BookmarkButtonCell 7 @implementation BookmarkButtonCell
8 8
9 - (id)initTextCell:(NSString *)string {
10 if ((self = [super initTextCell:string])) {
11 [self setBordered:NO];
12 }
13 return self;
14 }
15
9 - (NSSize)cellSizeForBounds:(NSRect)aRect { 16 - (NSSize)cellSizeForBounds:(NSRect)aRect {
10 NSSize size = [super cellSizeForBounds:aRect]; 17 NSSize size = [super cellSizeForBounds:aRect];
11 size.width += 2; 18 size.width += 2;
12 size.height += 4; 19 size.height += 4;
13 return size; 20 return size;
14 } 21 }
15 22
16 @end 23 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698