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