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

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: Removed the 'deceptive content' enum element in favor of the new 'subresource filter' element 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 54f184dee8ee9070f24879a5ca1ec7f707a12e1e..291a2d7f12d59d0d71d3a17b8b81dd4cbb0b85f4 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;
tapted 2017/02/15 01:44:25 (still fairly certain this isn't necessary)
kylix_rd 2017/02/15 16:42:59 Done.
friend class PageActionImageView;
friend class PageActionWithBadgeView;
using PageActions = std::vector<ExtensionAction*>;
@@ -356,6 +357,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