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

Unified Diff: public/web/WebDocument.h

Issue 18371008: Add a WebDocument::watchCssSelectors(selectors) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Omit split CLs Created 7 years, 5 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: public/web/WebDocument.h
diff --git a/public/web/WebDocument.h b/public/web/WebDocument.h
index 8d1d009bdd175b5079fa851455a740f8a042b09d..2d3b6bced2fde53d374dbec0e67cba2d528c2776 100644
--- a/public/web/WebDocument.h
+++ b/public/web/WebDocument.h
@@ -123,6 +123,11 @@ public:
// WebView.
WEBKIT_EXPORT void insertUserStyleSheet(const WebString& sourceCode, UserStyleLevel);
+ // Arranges to call WebFrameClient::didMatchCss(frame(), ...) when one of
+ // the selectors matches or stops matching an element in this document.
+ // Each call to this method overrides any previous calls.
+ WEBKIT_EXPORT void watchCssSelectors(const WebVector<WebString>& selectors);
Jeffrey Yasskin 2013/07/12 22:40:42 Used by https://codereview.chromium.org/19045002/.
+
WEBKIT_EXPORT WebVector<WebDraggableRegion> draggableRegions() const;
#if WEBKIT_IMPLEMENTATION

Powered by Google App Engine
This is Rietveld 408576698