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

Side by Side Diff: content/public/renderer/render_view_observer.h

Issue 19045002: Use Blink support to watch CSS selectors directly instead of using a MutationObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unCamelCase in Chrome code. Created 7 years, 2 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
« no previous file with comments | « chrome/renderer/resources/renderer_resources.grd ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/public/platform/WebVector.h"
13 #include "third_party/WebKit/public/web/WebIconURL.h" 14 #include "third_party/WebKit/public/web/WebIconURL.h"
14 15
15 class GURL; 16 class GURL;
16 17
17 namespace ppapi { 18 namespace ppapi {
18 namespace host { 19 namespace host {
19 class PpapiHost; 20 class PpapiHost;
20 } 21 }
21 } 22 }
22 23
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void DidFailProvisionalLoad(WebKit::WebFrame* frame, 61 virtual void DidFailProvisionalLoad(WebKit::WebFrame* frame,
61 const WebKit::WebURLError& error) {} 62 const WebKit::WebURLError& error) {}
62 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, 63 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame,
63 bool is_new_navigation) {} 64 bool is_new_navigation) {}
64 virtual void DidClearWindowObject(WebKit::WebFrame* frame) {} 65 virtual void DidClearWindowObject(WebKit::WebFrame* frame) {}
65 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) {} 66 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) {}
66 virtual void FrameCreated(WebKit::WebFrame* parent, 67 virtual void FrameCreated(WebKit::WebFrame* parent,
67 WebKit::WebFrame* frame) {} 68 WebKit::WebFrame* frame) {}
68 virtual void FrameDetached(WebKit::WebFrame* frame) {} 69 virtual void FrameDetached(WebKit::WebFrame* frame) {}
69 virtual void FrameWillClose(WebKit::WebFrame* frame) {} 70 virtual void FrameWillClose(WebKit::WebFrame* frame) {}
71 virtual void DidMatchCSS(
72 WebKit::WebFrame* frame,
73 const WebKit::WebVector<WebKit::WebString>& newly_matching_selectors,
74 const WebKit::WebVector<WebKit::WebString>& stopped_matching_selectors) {}
70 virtual void WillSendSubmitEvent(WebKit::WebFrame* frame, 75 virtual void WillSendSubmitEvent(WebKit::WebFrame* frame,
71 const WebKit::WebFormElement& form) {} 76 const WebKit::WebFormElement& form) {}
72 virtual void WillSubmitForm(WebKit::WebFrame* frame, 77 virtual void WillSubmitForm(WebKit::WebFrame* frame,
73 const WebKit::WebFormElement& form) {} 78 const WebKit::WebFormElement& form) {}
74 virtual void DidCreateDataSource(WebKit::WebFrame* frame, 79 virtual void DidCreateDataSource(WebKit::WebFrame* frame,
75 WebKit::WebDataSource* ds) {} 80 WebKit::WebDataSource* ds) {}
76 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {} 81 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {}
77 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} 82 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {}
78 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, 83 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame,
79 WebKit::WebMediaPlayerClient* client) {} 84 WebKit::WebMediaPlayerClient* client) {}
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 RenderView* render_view_; 137 RenderView* render_view_;
133 // The routing ID of the associated RenderView. 138 // The routing ID of the associated RenderView.
134 int routing_id_; 139 int routing_id_;
135 140
136 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 141 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
137 }; 142 };
138 143
139 } // namespace content 144 } // namespace content
140 145
141 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 146 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/resources/renderer_resources.grd ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698