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

Unified Diff: content/renderer/render_view_impl.cc

Issue 12326052: Using the new webkit CSS change notification instead of a mutation observer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index ce8cb51b2de58f8d9bc45791875d416db8f9d79b..a4fe2c3ff01dcca62ca894865c5cee0ffedf2ee3 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2865,6 +2865,15 @@ void RenderViewImpl::didChangeName(WebFrame* frame,
UTF16ToUTF8(name)));
}
+void RenderViewImpl::cssMatches(
+ WebFrame* frame,
+ const WebVector<WebString>& newlyMatchingSelectors,
+ const WebVector<WebString>& stoppedMatchingSelectors) {
+ FOR_EACH_OBSERVER(
+ RenderViewObserver, observers_,
+ CssMatches(frame, newlyMatchingSelectors, stoppedMatchingSelectors));
+}
+
void RenderViewImpl::loadURLExternally(
WebFrame* frame, const WebURLRequest& request,
WebNavigationPolicy policy) {
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698