diff options
Diffstat (limited to 'chrome/browser/cocoa/toolbar_button_cell.h')
-rw-r--r-- | chrome/browser/cocoa/toolbar_button_cell.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/toolbar_button_cell.h b/chrome/browser/cocoa/toolbar_button_cell.h index cb7c6f4..a46cfff 100644 --- a/chrome/browser/cocoa/toolbar_button_cell.h +++ b/chrome/browser/cocoa/toolbar_button_cell.h @@ -8,7 +8,16 @@ #import <Cocoa/Cocoa.h> // A button cell that handles drawing/highlighting of buttons in the -// toolbar bar. +// toolbar bar. The appearance is determined by setting the cell's tag (not the +// view's) to one of the constants below (ButtonType). + +enum { + kLeftButtonType = -1, + kLeftButtonWithShadowType = -2, + kStandardButtonType = 0, + kRightButtonType = 1, +}; +typedef NSInteger ButtonType; @interface ToolbarButtonCell : NSButtonCell { } |