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 00168f1743f5cd660569bf917a5c76c612fe56db..5e4382b03731595e4ea7d3553466a03977035829 100644 |
--- a/chrome/browser/ui/cocoa/gradient_button_cell.h |
+++ b/chrome/browser/ui/cocoa/gradient_button_cell.h |
@@ -48,7 +48,6 @@ typedef enum { |
// Continuously illuminated, used to highlight buttons. |
kPulsingStuckOn, |
} PulseState; |
- |
}; |
@@ -90,6 +89,10 @@ typedef enum { |
- (NSBezierPath*)clipPathForFrame:(NSRect)cellFrame |
inView:(NSView*)controlView; |
+// Returns the amount by which the control frame is inset on all sides for |
+// drawing. |
+- (CGFloat)insetInView:(NSView*)controlView; |
+ |
// Turn on or off pulse sticking. When turning off sticking, leave our pulse |
// state in the correct ending position for our isMouseInside_ property. Public |
// since it's called from the bookmark bubble. |
@@ -106,9 +109,6 @@ typedef enum { |
// Actually fetches current mouse position and does a hit test. |
- (BOOL)isMouseReallyInside; |
-// Returns the offset of the start of the text in the cell. |
-- (CGFloat)textStartXOffset; |
- |
// Defines the top offset of text within the cell. Used by drawTitle and can |
// be overriden by objects that inherit this class for placement of text. |
- (int)verticalTextOffset; |