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

Unified Diff: Source/WebKit/chromium/src/WebDocument.cpp

Issue 18371008: Add a WebDocument::watchCssSelectors(selectors) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Initial 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: Source/WebKit/chromium/src/WebDocument.cpp
diff --git a/Source/WebKit/chromium/src/WebDocument.cpp b/Source/WebKit/chromium/src/WebDocument.cpp
index cd1fce25fc60a037b41300370af8fe0a2857fbdc..04eae2f398194db3da9bbad2cf4c644dc5a6d6b4 100644
--- a/Source/WebKit/chromium/src/WebDocument.cpp
+++ b/Source/WebKit/chromium/src/WebDocument.cpp
@@ -208,6 +208,14 @@ void WebDocument::insertUserStyleSheet(const WebString& sourceCode, UserStyleLev
document->styleSheetCollection()->addAuthorSheet(parsedSheet);
}
+void WebDocument::watchCssSelectors(const WebVector<WebString>& selectors)
+{
+ RefPtr<Document> document = unwrap<Document>();
+ Vector<String> wtfSelectors;
+ wtfSelectors.append(selectors.data(), selectors.size());
+ document->watchCssSelectors(wtfSelectors);
+}
+
void WebDocument::cancelFullScreen()
{
if (FullscreenController* fullscreen = FullscreenController::fromIfExists(unwrap<Document>()))
« no previous file with comments | « Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp ('k') | Source/WebKit/chromium/src/WebScriptBindings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698