Index: chrome/browser/cocoa/wrench_menu_button_cell.h |
diff --git a/chrome/browser/cocoa/wrench_menu_button_cell.h b/chrome/browser/cocoa/wrench_menu_button_cell.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1ce73a83ba89607b55a18826fedda92c8bfb9819 |
--- /dev/null |
+++ b/chrome/browser/cocoa/wrench_menu_button_cell.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_COCOA_WRENCH_MENU_BUTTON_CELL_H_ |
+#define CHROME_BROWSER_COCOA_WRENCH_MENU_BUTTON_CELL_H_ |
+ |
+#import <Cocoa/Cocoa.h> |
+ |
+// The WrenchMenuButtonCell overrides drawing the background gradient to use |
+// the same colors as NSSmallSquareBezelStyle but as a smooth gradient, rather |
+// than two blocks of colors. This also uses the blue menu highlight color for |
+// the pressed state. |
+@interface WrenchMenuButtonCell : NSButtonCell { |
+} |
+ |
+@end |
+ |
+#endif // CHROME_BROWSER_COCOA_WRENCH_MENU_BUTTON_CELL_H_ |