Index: chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.h |
diff --git a/chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.h b/chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.h |
index 2b0fee9974a9b194970cb5bfe697094b6a856442..1c7b5d7be4efeac567762acd7ccd0edda508d70f 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.h |
+++ b/chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.h |
@@ -52,6 +52,9 @@ class OriginChipDecoration : public ButtonDecoration, |
// Returns whether the origin chip should be shown or not. |
bool ShouldShow() const; |
+ // Returns the width required to display the chip's contents. |
+ CGFloat GetChipWidth() const; |
+ |
// Contains attributes for drawing the origin string. |
base::scoped_nsobject<NSMutableDictionary> attributes_; |