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

Unified Diff: chrome/renderer/extensions/dispatcher.h

Issue 19045002: Use Blink support to watch CSS selectors directly instead of using a MutationObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unCamelCase in Chrome code. Created 7 years, 2 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
« no previous file with comments | « chrome/renderer/extensions/content_watcher.cc ('k') | chrome/renderer/extensions/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/dispatcher.h
diff --git a/chrome/renderer/extensions/dispatcher.h b/chrome/renderer/extensions/dispatcher.h
index 180007651177f1496c4acef55e6a62cee93379bf..99000ef2504592dd16b2e6920196a8c44100cdfd 100644
--- a/chrome/renderer/extensions/dispatcher.h
+++ b/chrome/renderer/extensions/dispatcher.h
@@ -20,6 +20,8 @@
#include "content/public/renderer/render_process_observer.h"
#include "extensions/common/event_filter.h"
#include "extensions/common/features/feature.h"
+#include "third_party/WebKit/public/platform/WebString.h"
+#include "third_party/WebKit/public/platform/WebVector.h"
#include "v8/include/v8.h"
class ChromeRenderViewTest;
@@ -97,6 +99,11 @@ class Dispatcher : public content::RenderProcessObserver {
void DidCreateDocumentElement(WebKit::WebFrame* frame);
+ void DidMatchCSS(
+ WebKit::WebFrame* frame,
+ const WebKit::WebVector<WebKit::WebString>& newly_matching_selectors,
+ const WebKit::WebVector<WebKit::WebString>& stopped_matching_selectors);
+
// TODO(mpcomplete): remove. http://crbug.com/100411
bool IsAdblockWithWebRequestInstalled() const {
return webrequest_adblock_;
« no previous file with comments | « chrome/renderer/extensions/content_watcher.cc ('k') | chrome/renderer/extensions/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698