OLD | NEW |
(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 |
OLD | NEW |