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

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: Sync Created 7 years, 3 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 | « Source/web/tests/WebFrameTest.cpp ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebDocument.h
diff --git a/public/web/WebDocument.h b/public/web/WebDocument.h
index 23d107cacfc568da4ce6996a1636c16fe3a62724..bd98692faf681fa8f7d6cbe645095ac4a2601ecd 100644
--- a/public/web/WebDocument.h
+++ b/public/web/WebDocument.h
@@ -134,6 +134,11 @@ public:
// WebView.
BLINK_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.
+ BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors);
+
BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const;
BLINK_EXPORT v8::Handle<v8::Value> registerEmbedderCustomElement(const WebString& name, v8::Handle<v8::Value> options, WebExceptionCode&);
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698