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

Unified Diff: content/public/renderer/render_view_observer.h

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
Index: content/public/renderer/render_view_observer.h
diff --git a/content/public/renderer/render_view_observer.h b/content/public/renderer/render_view_observer.h
index c6bd6089363b90a0de9da58440cb2254c9530e0b..eb6e976cfe9a61b41e7bb964aed9d8e71ae6fa01 100644
--- a/content/public/renderer/render_view_observer.h
+++ b/content/public/renderer/render_view_observer.h
@@ -10,6 +10,7 @@
#include "content/common/content_export.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h"
namespace ppapi {
@@ -71,6 +72,10 @@ class CONTENT_EXPORT RenderViewObserver : public IPC::Listener,
WebKit::WebFrame* frame) {}
virtual void FrameDetached(WebKit::WebFrame* frame) {}
virtual void FrameWillClose(WebKit::WebFrame* frame) {}
+ virtual void CssMatches(
+ WebKit::WebFrame* frame,
+ const WebKit::WebVector<WebKit::WebString>& newlyMatchingSelectors,
+ const WebKit::WebVector<WebKit::WebString>& stoppedMatchingSelectors) {}
virtual void WillSubmitForm(WebKit::WebFrame* frame,
const WebKit::WebFormElement& form) {}
virtual void DidCreateDataSource(WebKit::WebFrame* frame,
« no previous file with comments | « chrome/test/data/extensions/api_test/declarative_content/overview/background.js ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698