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

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

Issue 2668833003: DialogBrowserTest implementation to invoke Content settings bubble dialogs. (Closed)
Patch Set: Merge fix from https://codereview.chromium.org/2663163004. This is temporary 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..96fcda06fb2c7a36b3b33ffeed49793230753806 100644
--- a/chrome/browser/ui/location_bar/location_bar.h
+++ b/chrome/browser/ui/location_bar/location_bar.h
@@ -12,6 +12,7 @@
#include "ui/base/window_open_disposition.h"
#include "url/gurl.h"
+class ContentSettingImageModel;
class ExtensionAction;
class LocationBarTesting;
class OmniboxView;
@@ -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