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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 WebKit::WebFrame* frame, const WebKit::WebURL& from, | 66 WebKit::WebFrame* frame, const WebKit::WebURL& from, |
67 const WebKit::WebURL& to, double interval, double fire_time) {} | 67 const WebKit::WebURL& to, double interval, double fire_time) {} |
68 virtual void DidCancelClientRedirect(WebKit::WebFrame* frame) {} | 68 virtual void DidCancelClientRedirect(WebKit::WebFrame* frame) {} |
69 virtual void DidCompleteClientRedirect(WebKit::WebFrame* frame, | 69 virtual void DidCompleteClientRedirect(WebKit::WebFrame* frame, |
70 const WebKit::WebURL& from) {} | 70 const WebKit::WebURL& from) {} |
71 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) {} | 71 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) {} |
72 virtual void FrameCreated(WebKit::WebFrame* parent, | 72 virtual void FrameCreated(WebKit::WebFrame* parent, |
73 WebKit::WebFrame* frame) {} | 73 WebKit::WebFrame* frame) {} |
74 virtual void FrameDetached(WebKit::WebFrame* frame) {} | 74 virtual void FrameDetached(WebKit::WebFrame* frame) {} |
75 virtual void FrameWillClose(WebKit::WebFrame* frame) {} | 75 virtual void FrameWillClose(WebKit::WebFrame* frame) {} |
| 76 virtual void WillSendSubmitEvent(WebKit::WebFrame* frame, |
| 77 const WebKit::WebFormElement& form) {} |
76 virtual void WillSubmitForm(WebKit::WebFrame* frame, | 78 virtual void WillSubmitForm(WebKit::WebFrame* frame, |
77 const WebKit::WebFormElement& form) {} | 79 const WebKit::WebFormElement& form) {} |
78 virtual void DidCreateDataSource(WebKit::WebFrame* frame, | 80 virtual void DidCreateDataSource(WebKit::WebFrame* frame, |
79 WebKit::WebDataSource* ds) {} | 81 WebKit::WebDataSource* ds) {} |
80 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {} | 82 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {} |
81 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} | 83 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} |
82 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, | 84 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, |
83 WebKit::WebMediaPlayerClient* client) {} | 85 WebKit::WebMediaPlayerClient* client) {} |
84 virtual void ZoomLevelChanged() {}; | 86 virtual void ZoomLevelChanged() {}; |
85 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {} | 87 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {} |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 RenderView* render_view_; | 124 RenderView* render_view_; |
123 // The routing ID of the associated RenderView. | 125 // The routing ID of the associated RenderView. |
124 int routing_id_; | 126 int routing_id_; |
125 | 127 |
126 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); | 128 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); |
127 }; | 129 }; |
128 | 130 |
129 } // namespace content | 131 } // namespace content |
130 | 132 |
131 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ | 133 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |