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