OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_WRENCH_MENU_BUTTON_CELL_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_WRENCH_MENU_WRENCH_MENU_BUTTON_CELL_H_ |
6 #define CHROME_BROWSER_UI_COCOA_WRENCH_MENU_BUTTON_CELL_H_ | 6 #define CHROME_BROWSER_UI_COCOA_WRENCH_MENU_WRENCH_MENU_BUTTON_CELL_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 // The WrenchMenuButtonCell overrides drawing the background gradient to use | 10 // The WrenchMenuButtonCell overrides drawing the background gradient to use |
11 // the same colors as NSSmallSquareBezelStyle but as a smooth gradient, rather | 11 // the same colors as NSSmallSquareBezelStyle but as a smooth gradient, rather |
12 // than two blocks of colors. This also uses the blue menu highlight color for | 12 // than two blocks of colors. This also uses the blue menu highlight color for |
13 // the pressed state. | 13 // the pressed state. |
14 @interface WrenchMenuButtonCell : NSButtonCell { | 14 @interface WrenchMenuButtonCell : NSButtonCell { |
15 } | 15 } |
16 | 16 |
17 @end | 17 @end |
18 | 18 |
19 #endif // CHROME_BROWSER_UI_COCOA_WRENCH_MENU_BUTTON_CELL_H_ | 19 #endif // CHROME_BROWSER_UI_COCOA_WRENCH_MENU_WRENCH_MENU_BUTTON_CELL_H_ |
OLD | NEW |