OLD | NEW |
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/platform/WebVector.h" |
| 14 #include "v8/include/v8.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 |
23 namespace blink { | 24 namespace blink { |
(...skipping 30 matching lines...) Expand all Loading... |
54 virtual void DidStopLoading() {} | 55 virtual void DidStopLoading() {} |
55 virtual void DidFinishDocumentLoad(blink::WebLocalFrame* frame) {} | 56 virtual void DidFinishDocumentLoad(blink::WebLocalFrame* frame) {} |
56 virtual void DidFailLoad(blink::WebLocalFrame* frame, | 57 virtual void DidFailLoad(blink::WebLocalFrame* frame, |
57 const blink::WebURLError& error) {} | 58 const blink::WebURLError& error) {} |
58 virtual void DidFinishLoad(blink::WebLocalFrame* frame) {} | 59 virtual void DidFinishLoad(blink::WebLocalFrame* frame) {} |
59 virtual void DidStartProvisionalLoad(blink::WebLocalFrame* frame) {} | 60 virtual void DidStartProvisionalLoad(blink::WebLocalFrame* frame) {} |
60 virtual void DidFailProvisionalLoad(blink::WebLocalFrame* frame, | 61 virtual void DidFailProvisionalLoad(blink::WebLocalFrame* frame, |
61 const blink::WebURLError& error) {} | 62 const blink::WebURLError& error) {} |
62 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, | 63 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, |
63 bool is_new_navigation) {} | 64 bool is_new_navigation) {} |
| 65 virtual void DidCreateNewDocument(blink::WebLocalFrame* frame) {} |
64 virtual void DidClearWindowObject(blink::WebLocalFrame* frame) {} | 66 virtual void DidClearWindowObject(blink::WebLocalFrame* frame) {} |
65 virtual void DidCreateDocumentElement(blink::WebLocalFrame* frame) {} | 67 virtual void DidCreateDocumentElement(blink::WebLocalFrame* frame) {} |
66 virtual void FrameCreated(blink::WebLocalFrame* parent, | 68 virtual void FrameCreated(blink::WebLocalFrame* parent, |
67 blink::WebFrame* frame) {} | 69 blink::WebFrame* frame) {} |
68 virtual void FrameDetached(blink::WebFrame* frame) {} | 70 virtual void FrameDetached(blink::WebFrame* frame) {} |
69 virtual void FrameWillClose(blink::WebFrame* frame) {} | 71 virtual void FrameWillClose(blink::WebFrame* frame) {} |
70 virtual void DidMatchCSS( | 72 virtual void DidMatchCSS( |
71 blink::WebLocalFrame* frame, | 73 blink::WebLocalFrame* frame, |
72 const blink::WebVector<blink::WebString>& newly_matching_selectors, | 74 const blink::WebVector<blink::WebString>& newly_matching_selectors, |
73 const blink::WebVector<blink::WebString>& stopped_matching_selectors) {} | 75 const blink::WebVector<blink::WebString>& stopped_matching_selectors) {} |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 RenderView* render_view_; | 128 RenderView* render_view_; |
127 // The routing ID of the associated RenderView. | 129 // The routing ID of the associated RenderView. |
128 int routing_id_; | 130 int routing_id_; |
129 | 131 |
130 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); | 132 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); |
131 }; | 133 }; |
132 | 134 |
133 } // namespace content | 135 } // namespace content |
134 | 136 |
135 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ | 137 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |