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

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

Issue 2668833003: DialogBrowserTest implementation to invoke Content settings bubble dialogs. (Closed)
Patch Set: More nits addressed 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/location_bar/location_bar.h
diff --git a/chrome/browser/ui/location_bar/location_bar.h b/chrome/browser/ui/location_bar/location_bar.h
index f566d39e8f42939c83f747a570989d3e2d1998fe..c43d274f3316bc995be7dc616a9f6b4d8d1ce97e 100644
--- a/chrome/browser/ui/location_bar/location_bar.h
+++ b/chrome/browser/ui/location_bar/location_bar.h
@@ -129,6 +129,10 @@ class LocationBarTesting {
// Returns whether or not the bookmark star decoration is visible.
virtual bool GetBookmarkStarVisibility() = 0;
+ // Invokes the content setting image at |index|, displaying the bubble.
+ // Returns false if there is none.
+ virtual bool TestContentSettingImagePressed(size_t index) = 0;
+
protected:
virtual ~LocationBarTesting() {}
};

Powered by Google App Engine
This is Rietveld 408576698