| 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 310a3c36f958a487050978c7de7bc4b0176c2b8e..d3f868593400b4074e550e9f2df0e4c9a1b0a0a3 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| @@ -30,6 +30,7 @@
|
| #include "ui/views/drag_controller.h"
|
|
|
| class CommandUpdater;
|
| +class ContentSettingBubbleDialogTest;
|
| class ContentSettingBubbleModelDelegate;
|
| class ContentSettingImageView;
|
| class ExtensionAction;
|
| @@ -254,6 +255,7 @@ class LocationBarView : public LocationBar,
|
| private:
|
| using ContentSettingViews = std::vector<ContentSettingImageView*>;
|
|
|
| + friend class ContentSettingBubbleDialogTest;
|
| friend class PageActionImageView;
|
| friend class PageActionWithBadgeView;
|
| using PageActions = std::vector<ExtensionAction*>;
|
| @@ -361,6 +363,8 @@ class LocationBarView : public LocationBar,
|
| ExtensionAction* GetVisiblePageAction(size_t index) override;
|
| void TestPageActionPressed(size_t index) override;
|
| bool GetBookmarkStarVisibility() override;
|
| + int ContentSettingImageModelCount() override;
|
| + ContentSettingImageModel* GetContentSettingImageModel(size_t index) override;
|
|
|
| // views::View:
|
| const char* GetClassName() const override;
|
| @@ -391,6 +395,11 @@ class LocationBarView : public LocationBar,
|
| // TemplateURLServiceObserver:
|
| void OnTemplateURLServiceChanged() override;
|
|
|
| + // For a given ContentSettingImageModel, return the corresponding
|
| + // ContentSettingImageView.
|
| + ContentSettingImageView* GetContentSettingImageViewFromImageModel(
|
| + ContentSettingImageModel* image_model);
|
| +
|
| // The Browser this LocationBarView is in. Note that at least
|
| // chromeos::SimpleWebViewDialog uses a LocationBarView outside any browser
|
| // window, so this may be NULL.
|
|
|