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

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

Issue 2668833003: DialogBrowserTest implementation to invoke Content settings bubble dialogs. (Closed)
Patch Set: Fixed Cocoa build Created 3 years, 11 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..484f3177ed214a5b3474f6f15ec033f5d923e28f 100644
--- a/chrome/browser/ui/location_bar/location_bar.h
+++ b/chrome/browser/ui/location_bar/location_bar.h
@@ -16,6 +16,7 @@ class ExtensionAction;
class LocationBarTesting;
class OmniboxView;
class Profile;
+class ContentSettingImageModel;
tapted 2017/02/03 00:35:39 nit: sort
kylix_rd 2017/02/03 18:55:03 Done.
namespace content {
class WebContents;
@@ -129,6 +130,13 @@ class LocationBarTesting {
// Returns whether or not the bookmark star decoration is visible.
virtual bool GetBookmarkStarVisibility() = 0;
+ // Returns the number of ContentSettingImageModels.
+ virtual int ContentSettingImageModelCount() = 0;
+
+ // Returns the ContentSettingImageModel at |index|.
+ virtual ContentSettingImageModel*
+ GetContentSettingImageModel(size_t index) = 0;
+
protected:
virtual ~LocationBarTesting() {}
};

Powered by Google App Engine
This is Rietveld 408576698