| Index: chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
|
| diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
|
| index 0928b90d8a247af9b83d4d45947453df5e6ac340..8e5f5ebf5d2292788a5197644e6cbf9e4b3251bb 100644
|
| --- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
|
| +++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
|
| @@ -49,6 +49,10 @@ class IconLabelBubbleView : public views::InkDropHostView {
|
| views::Label* label() { return label_; }
|
| const views::Label* label() const { return label_; }
|
|
|
| + void set_next_element_interior_padding(int padding) {
|
| + next_element_interior_padding_ = padding;
|
| + }
|
| +
|
| // Gets the color for displaying text.
|
| virtual SkColor GetTextColor() const = 0;
|
|
|
| @@ -100,6 +104,9 @@ class IconLabelBubbleView : public views::InkDropHostView {
|
|
|
| float GetScaleFactor() const;
|
|
|
| + // Returns the size to give to |image_|.
|
| + gfx::Size GetImageViewSize() const;
|
| +
|
| // views::View:
|
| const char* GetClassName() const override;
|
| void OnPaint(gfx::Canvas* canvas) override;
|
| @@ -108,6 +115,11 @@ class IconLabelBubbleView : public views::InkDropHostView {
|
| views::ImageView* image_;
|
| views::Label* label_;
|
|
|
| + // The padding of the element that will be displayed after |this|. This value
|
| + // is relevant for calculating the amount of space to reserve after the
|
| + // separator.
|
| + int next_element_interior_padding_ = 0;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(IconLabelBubbleView);
|
| };
|
|
|
|
|