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

Unified Diff: extensions/browser/api/declarative_content/content_rules_registry.h

Issue 1159733004: Encapsulate CSS selector declarative content condition tracking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stars-declarative-content-range-for
Patch Set: iwyu Created 5 years, 7 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: extensions/browser/api/declarative_content/content_rules_registry.h
diff --git a/extensions/browser/api/declarative_content/content_rules_registry.h b/extensions/browser/api/declarative_content/content_rules_registry.h
index f7f08bdb079a0ab36b3694c7ede75938861a130c..25c3ee6e42e3784959a0d079c5d22340d26029ba 100644
--- a/extensions/browser/api/declarative_content/content_rules_registry.h
+++ b/extensions/browser/api/declarative_content/content_rules_registry.h
@@ -36,12 +36,6 @@ class ContentRulesRegistry : public RulesRegistry {
cache_delegate,
rules_registry_id) {}
- // Applies all content rules given an update (CSS match change or
- // page navigation, for now) from the renderer.
- virtual void Apply(
- content::WebContents* contents,
- const std::vector<std::string>& matching_css_selectors) = 0;
-
// Applies all content rules given that a tab was just navigated.
virtual void DidNavigateMainFrame(
not at google - send to devlin 2015/06/01 22:51:12 Writing comment here, though I first noticed it in
Mike Wittman 2015/06/05 01:17:45 It would. My intention is to move the notification
content::WebContents* tab,

Powered by Google App Engine
This is Rietveld 408576698