Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / bookmarks / bookmark_bar_folder_button_cell.mm
blob1b6b8b904c8e993cd4332b8a56ca4bfca67e245c
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.
5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.h"
7 @implementation BookmarkBarFolderButtonCell
9 + (id)buttonCellForNode:(const BookmarkNode*)node
10                    text:(NSString*)text
11                   image:(NSImage*)image
12          menuController:(BookmarkContextMenuCocoaController*)menuController {
13   id buttonCell =
14       [[[BookmarkBarFolderButtonCell alloc] initForNode:node
15                                                    text:text
16                                                   image:image
17                                          menuController:menuController]
18        autorelease];
19   return buttonCell;
22 - (BOOL)isFolderButtonCell {
23   return YES;
26 - (void)setMouseInside:(BOOL)flag animate:(BOOL)animated {
29 @end