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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_COCOA_WRENCH_MENU_WRENCH_MENU_BUTTON_CELL_H_ 6 #define CHROME_BROWSER_UI_COCOA_WRENCH_MENU_WRENCH_MENU_BUTTON_CELL_H_ 7 8 #import <Cocoa/Cocoa.h> 9 10 // The WrenchMenuButtonCell overrides drawing the background gradient to use 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 13 // the pressed state. 14 @interface WrenchMenuButtonCell : NSButtonCell { 15 } 16 17 @end 18 19 #endif // CHROME_BROWSER_UI_COCOA_WRENCH_MENU_WRENCH_MENU_BUTTON_CELL_H_ 20