Make the page action space show extensions with active content scripts or
executed script when the action box is enabled.
This is platform independent but will only work on GTK until cocoa and views
have been updated to use the ActionBoxController interface.
BUG=127988
Review URL: https://chromiumcodereview.appspot.com/10332235
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138021 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 6fd87bf1..5e7df6f 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -534,6 +534,9 @@
// settings page (i.e. chrome://extensions).
bool ShouldDisplayInExtensionSettings() const;
+ // Returns true if the extension has a content script declared at |url|.
+ bool HasContentScriptAtURL(const GURL& url) const;
+
// Accessors:
const FilePath& path() const { return path_; }