| Index: chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc b/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
|
| index 821119a7b6586402807654210fde684991668e14..9f4b9bef3d1134d84c81c26c929a66c6d83cb86c 100644
|
| --- a/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
|
| @@ -14,6 +14,7 @@ PageActionWithBadgeView::PageActionWithBadgeView(
|
| PageActionImageView* image_view) {
|
| image_view_ = image_view;
|
| AddChildView(image_view_);
|
| + TouchableLocationBarView::Init(this);
|
| }
|
|
|
| void PageActionWithBadgeView::GetAccessibleState(
|
| @@ -26,6 +27,10 @@ gfx::Size PageActionWithBadgeView::GetPreferredSize() {
|
| extensions::Extension::kPageActionIconMaxSize);
|
| }
|
|
|
| +int PageActionWithBadgeView::GetBuiltInHorizontalPadding() const {
|
| + return GetBuiltInHorizontalPaddingImpl();
|
| +}
|
| +
|
| void PageActionWithBadgeView::Layout() {
|
| // We have 25 pixels of vertical space in the Omnibox to play with, so even
|
| // sized icons (such as 16x16) have either a 5 or a 4 pixel whitespace
|
|
|