| Index: chrome/browser/ui/cocoa/location_bar/bubble_decoration.h
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h b/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h
|
| index 3e25bdbc371ecd4c979d13540fe3307b5fd39223..902ab6e433a712af959028bdc403c75eb2256d9a 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h
|
| +++ b/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h
|
| @@ -40,6 +40,10 @@ class BubbleDecoration : public LocationBarDecoration {
|
| NSFont* GetFont() const override;
|
|
|
| protected:
|
| + // Returns the amount of padding between the divider and the omnibox text.
|
| + // Returns 0 in non-MD since there's no divider.
|
| + CGFloat DividerPadding() const;
|
| +
|
| // Helper returning bubble width for the given |image| and |label|
|
| // assuming |font_| (for sizing text). Arguments can be nil.
|
| CGFloat GetWidthForImageAndLabel(NSImage* image, NSString* label);
|
| @@ -51,11 +55,6 @@ class BubbleDecoration : public LocationBarDecoration {
|
| // Returns the text color when the theme is dark.
|
| virtual NSColor* GetDarkModeTextColor();
|
|
|
| - private:
|
| - friend class SelectedKeywordDecorationTest;
|
| - FRIEND_TEST_ALL_PREFIXES(SelectedKeywordDecorationTest,
|
| - UsesPartialKeywordIfNarrow);
|
| -
|
| // Image drawn in the left side of the bubble.
|
| base::scoped_nsobject<NSImage> image_;
|
|
|
| @@ -65,6 +64,11 @@ class BubbleDecoration : public LocationBarDecoration {
|
| // Contains attribute for drawing |label_|.
|
| base::scoped_nsobject<NSMutableDictionary> attributes_;
|
|
|
| + private:
|
| + friend class SelectedKeywordDecorationTest;
|
| + FRIEND_TEST_ALL_PREFIXES(SelectedKeywordDecorationTest,
|
| + UsesPartialKeywordIfNarrow);
|
| +
|
| // Contains any Retina-only baseline adjustment for |label_|.
|
| CGFloat retina_baseline_offset_;
|
|
|
|
|