Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3776)

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 2668833003: DialogBrowserTest implementation to invoke Content settings bubble dialogs. (Closed)
Patch Set: Updates from feedback Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b8aae5109f803fcd29b3015b729a859c100c0aa1..dcf048d1214125d211a466f62974eee09341f1a5 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -246,6 +246,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*>;
@@ -353,6 +354,7 @@ class LocationBarView : public LocationBar,
ExtensionAction* GetVisiblePageAction(size_t index) override;
void TestPageActionPressed(size_t index) override;
bool GetBookmarkStarVisibility() override;
+ bool TestContentSettingImagePressed(size_t index) override;
// views::View:
const char* GetClassName() const override;

Powered by Google App Engine
This is Rietveld 408576698