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

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

Issue 8141003: [Mac] Restore the old bookmark menus now that the experiment is over. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.h"
6
7 @implementation BookmarkBarFolderButtonCell
8
9 + (id)buttonCellForNode:(const BookmarkNode*)node
10 contextMenu:(NSMenu*)contextMenu
11 cellText:(NSString*)cellText
12 cellImage:(NSImage*)cellImage {
13 id buttonCell =
14 [[[BookmarkBarFolderButtonCell alloc] initForNode:node
15 contextMenu:contextMenu
16 cellText:cellText
17 cellImage:cellImage]
18 autorelease];
19 return buttonCell;
20 }
21
22 - (BOOL)isFolderButtonCell {
23 return YES;
24 }
25
26 - (void)setMouseInside:(BOOL)flag animate:(BOOL)animated {
27 }
28
29 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698