| Index: chrome/browser/ui/cocoa/gradient_button_cell.h
|
| diff --git a/chrome/browser/ui/cocoa/gradient_button_cell.h b/chrome/browser/ui/cocoa/gradient_button_cell.h
|
| index 1c798eab8f145b0d36e6b76c588089326064160b..c495356ebfb2715513bc26efb536a0b2a01eed7e 100644
|
| --- a/chrome/browser/ui/cocoa/gradient_button_cell.h
|
| +++ b/chrome/browser/ui/cocoa/gradient_button_cell.h
|
| @@ -31,6 +31,7 @@ enum {
|
| // normal un-pressed gradient.
|
| kStandardButtonTypeWithLimitedClickFeedback = 3,
|
| kMaterialStandardButtonTypeWithLimitedClickFeedback = 4,
|
| + kMaterialMenuButtonTypeWithLimitedClickFeedback = 5,
|
| };
|
| typedef NSInteger ButtonType;
|
|
|
| @@ -118,6 +119,9 @@ typedef enum {
|
| // draw the hover (and pressed) state background path.
|
| - (CGFloat)hoverBackgroundVerticalOffsetInControlView:(NSView*)controlView;
|
|
|
| +// Returns YES if the cell's tag indicates a Material Design button type.
|
| +- (BOOL)isMaterialDesignButtonType;
|
| +
|
| @property(assign, nonatomic) CGFloat hoverAlpha;
|
|
|
| // An image that will be drawn after the normal content of the button cell,
|
|
|