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

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

Issue 8313008: Delete some unused code found by the clang static analyzer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_
7 #pragma once 7 #pragma once
8 8
9 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h" 9 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h"
10 10
11 class BookmarkNode; 11 class BookmarkNode;
12 12
13 // A button cell that handles drawing/highlighting of buttons in the 13 // A button cell that handles drawing/highlighting of buttons in the
14 // bookmark bar. This cell forwards mouseEntered/mouseExited events 14 // bookmark bar. This cell forwards mouseEntered/mouseExited events
15 // to its control view so that pseudo-menu operations 15 // to its control view so that pseudo-menu operations
16 // (e.g. hover-over to open) can be implemented. 16 // (e.g. hover-over to open) can be implemented.
17 @interface BookmarkBarFolderButtonCell : BookmarkButtonCell { 17 @interface BookmarkBarFolderButtonCell : BookmarkButtonCell
18 @private
19 scoped_nsobject<NSColor> frameColor_;
20 }
21 18
22 // Create a button cell which draws without a theme and with a frame 19 // Create a button cell which draws without a theme and with a frame
23 // color provided by the ThemeService defaults. 20 // color provided by the ThemeService defaults.
24 + (id)buttonCellForNode:(const BookmarkNode*)node 21 + (id)buttonCellForNode:(const BookmarkNode*)node
25 contextMenu:(NSMenu*)contextMenu 22 contextMenu:(NSMenu*)contextMenu
26 cellText:(NSString*)cellText 23 cellText:(NSString*)cellText
27 cellImage:(NSImage*)cellImage; 24 cellImage:(NSImage*)cellImage;
28 25
29 @end 26 @end
30 27
31 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_ 28 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_BUTTON_CELL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/background_tile_view.h ('k') | chrome/browser/ui/cocoa/browser_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698