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

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: Merged in suggestions from reviewers 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 f525808c5e5f271c1d329e677de2cea3d1933c35..c22c1b618e6a39c8b2c0d60ea8eb3ad9d341133f 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -254,6 +254,7 @@ class LocationBarView : public LocationBar,
private:
using ContentSettingViews = std::vector<ContentSettingImageView*>;
+ friend class ContentSettingBubbleDialogTest;
tapted 2017/02/07 01:23:32 (nit - remove?: not sure you still need this)
kylix_rd 2017/02/07 18:25:21 GetLocationBarForTesting() is private, so this is
tapted 2017/02/08 00:31:49 True, it's private in LocationBarView, but browse
tapted 2017/02/15 01:44:25 ping?
friend class PageActionImageView;
friend class PageActionWithBadgeView;
using PageActions = std::vector<ExtensionAction*>;
@@ -361,6 +362,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