Index: public/web/WebDocument.h |
diff --git a/public/web/WebDocument.h b/public/web/WebDocument.h |
index 2dac12ef5d380e170d25a14b7d92980a789b2ccc..b58f4ce3d469ec458778bea9b13c4b2a610599b3 100644 |
--- a/public/web/WebDocument.h |
+++ b/public/web/WebDocument.h |
@@ -134,6 +134,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); |
+ |
WEBKIT_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; |
WEBKIT_EXPORT v8::Handle<v8::Value> registerEmbedderCustomElement(const WebString& name, v8::Handle<v8::Value> options, WebExceptionCode&); |