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

Side by Side Diff: chrome/browser/cocoa/toolbar_button_cell.h

Issue 160496: Implement back/forward toolbar menus on Mac.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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
« no previous file with comments | « chrome/browser/cocoa/delayedmenu_button.mm ('k') | chrome/browser/cocoa/toolbar_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_ 5 #ifndef CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_
6 #define CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_ 6 #define CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #import "chrome/browser/cocoa/gradient_button_cell.h" 9 #import "chrome/browser/cocoa/clickhold_button_cell.h"
10 10
11 // A button cell for the toolbar. 11 // A button cell for the toolbar.
12 12
13 // TODO(jrg): Why have a class at all when the base class does it all? 13 // TODO(jrg): Why have a class at all when the base class does it all?
14 // I anticipate making changes for extensions. Themes may also 14 // I anticipate making changes for extensions. Themes may also
15 // require changes. I don't yet know if those will be common across 15 // require changes. I don't yet know if those will be common across
16 // the toolbar and bookmark bar or not. The initial CL which made 16 // the toolbar and bookmark bar or not. The initial CL which made
17 // this empty was the use of the base class for both toolbar and 17 // this empty was the use of the base class for both toolbar and
18 // bookmark bar button cells. It seems wasteful to remove the files 18 // bookmark bar button cells. It seems wasteful to remove the files
19 // then add them back in soon after. 19 // then add them back in soon after.
20 // TODO(jrg): If no differences come up, remove this file and use 20 // TODO(jrg): If no differences come up, remove this file and use
21 // the base class explicitly for both the toolbar and bookmark bar. 21 // the base class explicitly for both the toolbar and bookmark bar.
22 22
23 @interface ToolbarButtonCell : GradientButtonCell { 23 @interface ToolbarButtonCell : ClickHoldButtonCell {
24 } 24 }
25 @end 25 @end
26 26
27 #endif // CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_ 27 #endif // CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/delayedmenu_button.mm ('k') | chrome/browser/cocoa/toolbar_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698