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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "ipc/ipc_listener.h" 11 #include "ipc/ipc_listener.h"
12 #include "ipc/ipc_sender.h" 12 #include "ipc/ipc_sender.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h"
14 15
15 namespace ppapi { 16 namespace ppapi {
16 namespace host { 17 namespace host {
17 class PpapiHost; 18 class PpapiHost;
18 } 19 }
19 } 20 }
20 21
21 namespace WebKit { 22 namespace WebKit {
22 class WebDataSource; 23 class WebDataSource;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 WebKit::WebFrame* frame, const WebKit::WebURL& from, 65 WebKit::WebFrame* frame, const WebKit::WebURL& from,
65 const WebKit::WebURL& to, double interval, double fire_time) {} 66 const WebKit::WebURL& to, double interval, double fire_time) {}
66 virtual void DidCancelClientRedirect(WebKit::WebFrame* frame) {} 67 virtual void DidCancelClientRedirect(WebKit::WebFrame* frame) {}
67 virtual void DidCompleteClientRedirect(WebKit::WebFrame* frame, 68 virtual void DidCompleteClientRedirect(WebKit::WebFrame* frame,
68 const WebKit::WebURL& from) {} 69 const WebKit::WebURL& from) {}
69 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) {} 70 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) {}
70 virtual void FrameCreated(WebKit::WebFrame* parent, 71 virtual void FrameCreated(WebKit::WebFrame* parent,
71 WebKit::WebFrame* frame) {} 72 WebKit::WebFrame* frame) {}
72 virtual void FrameDetached(WebKit::WebFrame* frame) {} 73 virtual void FrameDetached(WebKit::WebFrame* frame) {}
73 virtual void FrameWillClose(WebKit::WebFrame* frame) {} 74 virtual void FrameWillClose(WebKit::WebFrame* frame) {}
75 virtual void CssMatches(
76 WebKit::WebFrame* frame,
77 const WebKit::WebVector<WebKit::WebString>& newlyMatchingSelectors,
78 const WebKit::WebVector<WebKit::WebString>& stoppedMatchingSelectors) {}
74 virtual void WillSubmitForm(WebKit::WebFrame* frame, 79 virtual void WillSubmitForm(WebKit::WebFrame* frame,
75 const WebKit::WebFormElement& form) {} 80 const WebKit::WebFormElement& form) {}
76 virtual void DidCreateDataSource(WebKit::WebFrame* frame, 81 virtual void DidCreateDataSource(WebKit::WebFrame* frame,
77 WebKit::WebDataSource* ds) {} 82 WebKit::WebDataSource* ds) {}
78 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {} 83 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {}
79 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} 84 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {}
80 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, 85 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame,
81 WebKit::WebMediaPlayerClient* client) {} 86 WebKit::WebMediaPlayerClient* client) {}
82 virtual void ZoomLevelChanged() {}; 87 virtual void ZoomLevelChanged() {};
83 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {} 88 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {}
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 RenderView* render_view_; 125 RenderView* render_view_;
121 // The routing ID of the associated RenderView. 126 // The routing ID of the associated RenderView.
122 int routing_id_; 127 int routing_id_;
123 128
124 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 129 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
125 }; 130 };
126 131
127 } // namespace content 132 } // namespace content
128 133
129 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 134 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW
« 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