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

Unified Diff: public/web/WebFrameClient.h

Issue 18371008: Add a WebDocument::watchCssSelectors(selectors) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Sync Created 7 years, 4 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
« Source/web/tests/WebFrameTest.cpp ('K') | « public/web/WebDocument.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 5e21a0423a37b028824bc5d4a2efeed023590e3b..b67f2935ab20221ce4eb8a0e3adebade923b797b 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -124,6 +124,9 @@ public:
// This frame's name has changed.
virtual void didChangeName(WebFrame*, const WebString&) { }
+ // Called when a watched CSS selector matches or stops matching.
+ virtual void didMatchCSS(WebFrame*, const WebVector<WebString>& newlyMatchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { }
esprehn 2013/09/04 06:08:28 Passing the frame into didMatchCSS is really weird
Jeffrey Yasskin 2013/09/12 22:09:59 There's no WebDocument here though, and the WebFra
+
// Load commands -------------------------------------------------------
// The client should handle the navigation externally.
« Source/web/tests/WebFrameTest.cpp ('K') | « public/web/WebDocument.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698