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

Unified Diff: chrome/browser/extensions/tab_helper.h

Issue 11547033: Implement declarativeContent API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Take out ParseJson and DeclarativeRule template Created 8 years 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/extensions/tab_helper.h
diff --git a/chrome/browser/extensions/tab_helper.h b/chrome/browser/extensions/tab_helper.h
index ab6fafd0bd9db973bb68b948ecd64401297a6a46..a7ea0e00dfd3e6ca6d8dd272900ad757f73e5f20 100644
--- a/chrome/browser/extensions/tab_helper.h
+++ b/chrome/browser/extensions/tab_helper.h
@@ -26,6 +26,7 @@ struct LoadCommittedDetails;
}
namespace extensions {
+class ContentRulesRegistry;
class Extension;
class LocationBarController;
class ScriptBadgeController;
@@ -191,6 +192,7 @@ class TabHelper : public content::WebContentsObserver,
const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids,
int32 page_id,
const GURL& on_url);
+ void OnWatchedPageChange(const std::vector<std::string>& css_selectors);
// App extensions related methods:
@@ -265,6 +267,8 @@ class TabHelper : public content::WebContentsObserver,
scoped_ptr<ScriptBubbleController> script_bubble_controller_;
+ ContentRulesRegistry* content_rules_registry_;
+
DISALLOW_COPY_AND_ASSIGN(TabHelper);
};

Powered by Google App Engine
This is Rietveld 408576698