Index: chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h |
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h b/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h |
index ebdbfd138da00e9aa51a1541bc19f0fe77a01f48..273288243752178135d1c774ec427b3ca750d6c9 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h |
@@ -12,7 +12,9 @@ |
// Bubble controller for field validation error bubbles. |
@interface AutofillBubbleController : BaseBubbleController { |
+ @private |
base::scoped_nsobject<NSTextField> label_; |
+ NSSize inset_; // Amount the label is inset from the window. |
} |
// Creates an error bubble with the given |message|. You need to call |
@@ -21,6 +23,12 @@ |
- (id)initWithParentWindow:(NSWindow*)parentWindow |
message:(NSString*)message; |
+// Designated initializer. Creates a bubble with given |message| and insets the |
+// text content by |inset|. |
+- (id)initWithParentWindow:(NSWindow*)parentWindow |
+ message:(NSString*)message |
+ inset:(NSSize)inset; |
+ |
// Maximum width that the bubble will occupy, regardless of message size. |
- (CGFloat)maxWidth; |