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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 virtual void DidFailProvisionalLoad(WebKit::WebFrame* frame, | 60 virtual void DidFailProvisionalLoad(WebKit::WebFrame* frame, |
61 const WebKit::WebURLError& error) {} | 61 const WebKit::WebURLError& error) {} |
62 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, | 62 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, |
63 bool is_new_navigation) {} | 63 bool is_new_navigation) {} |
64 virtual void DidClearWindowObject(WebKit::WebFrame* frame) {} | 64 virtual void DidClearWindowObject(WebKit::WebFrame* frame) {} |
65 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) {} | 65 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) {} |
66 virtual void FrameCreated(WebKit::WebFrame* parent, | 66 virtual void FrameCreated(WebKit::WebFrame* parent, |
67 WebKit::WebFrame* frame) {} | 67 WebKit::WebFrame* frame) {} |
68 virtual void FrameDetached(WebKit::WebFrame* frame) {} | 68 virtual void FrameDetached(WebKit::WebFrame* frame) {} |
69 virtual void FrameWillClose(WebKit::WebFrame* frame) {} | 69 virtual void FrameWillClose(WebKit::WebFrame* frame) {} |
| 70 virtual void WillSendSubmitEvent(WebKit::WebFrame* frame, |
| 71 const WebKit::WebFormElement& form) {} |
70 virtual void WillSubmitForm(WebKit::WebFrame* frame, | 72 virtual void WillSubmitForm(WebKit::WebFrame* frame, |
71 const WebKit::WebFormElement& form) {} | 73 const WebKit::WebFormElement& form) {} |
72 virtual void DidCreateDataSource(WebKit::WebFrame* frame, | 74 virtual void DidCreateDataSource(WebKit::WebFrame* frame, |
73 WebKit::WebDataSource* ds) {} | 75 WebKit::WebDataSource* ds) {} |
74 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {} | 76 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {} |
75 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} | 77 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} |
76 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, | 78 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, |
77 WebKit::WebMediaPlayerClient* client) {} | 79 WebKit::WebMediaPlayerClient* client) {} |
78 virtual void ZoomLevelChanged() {}; | 80 virtual void ZoomLevelChanged() {}; |
79 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {} | 81 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {} |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 RenderView* render_view_; | 118 RenderView* render_view_; |
117 // The routing ID of the associated RenderView. | 119 // The routing ID of the associated RenderView. |
118 int routing_id_; | 120 int routing_id_; |
119 | 121 |
120 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); | 122 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); |
121 }; | 123 }; |
122 | 124 |
123 } // namespace content | 125 } // namespace content |
124 | 126 |
125 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ | 127 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |