| Index: chrome/browser/ui/views/location_bar/location_bar_view.h
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| index a5d11271afbf1aae66559841551c61931cc833bd..92e7bbcb07e35c05122f61d5a124e2380afede4c 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| @@ -44,6 +44,7 @@ class ManagePasswordsIconView;
|
| class PageActionWithBadgeView;
|
| class PageActionImageView;
|
| class Profile;
|
| +class SaveCreditCardIconView;
|
| class SelectedKeywordView;
|
| class StarView;
|
| class TemplateURLService;
|
| @@ -174,6 +175,11 @@ class LocationBarView : public LocationBar,
|
| // The star. It may not be visible.
|
| StarView* star_view() { return star_view_; }
|
|
|
| + // The save credit card icon. It may not be visible.
|
| + SaveCreditCardIconView* save_credit_card_icon_view() {
|
| + return save_credit_card_icon_view_;
|
| + }
|
| +
|
| // Toggles the translate icon on or off.
|
| void SetTranslateIconToggled(bool on);
|
|
|
| @@ -301,6 +307,9 @@ class LocationBarView : public LocationBar,
|
| // true if the visibility of the view changed.
|
| bool RefreshZoomView();
|
|
|
| + // Updates |save_credit_card_icon_view_|. Returns true if visibility changed.
|
| + bool RefreshSaveCreditCardIconView();
|
| +
|
| // Updates the Translate icon based on the current tab's Translate status.
|
| void RefreshTranslateIcon();
|
|
|
| @@ -335,6 +344,7 @@ class LocationBarView : public LocationBar,
|
| void FocusSearch() override;
|
| void UpdateContentSettingsIcons() override;
|
| void UpdateManagePasswordsIconAndBubble() override;
|
| + void UpdateSaveCreditCardIcon() override;
|
| void UpdatePageActions() override;
|
| void UpdateBookmarkStarVisibility() override;
|
| void UpdateLocationBarVisibility(bool visible, bool animation) override;
|
| @@ -451,6 +461,9 @@ class LocationBarView : public LocationBar,
|
| // The page action icon views.
|
| PageActionViews page_action_views_;
|
|
|
| + // The save credit card icon.
|
| + SaveCreditCardIconView* save_credit_card_icon_view_;
|
| +
|
| // The icon for Translate.
|
| TranslateIconView* translate_icon_view_;
|
|
|
|
|