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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
75 const WebKit::WebFormElement& form) {} | 75 const WebKit::WebFormElement& form) {} |
76 virtual void DidCreateDataSource(WebKit::WebFrame* frame, | 76 virtual void DidCreateDataSource(WebKit::WebFrame* frame, |
77 WebKit::WebDataSource* ds) {} | 77 WebKit::WebDataSource* ds) {} |
78 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {} | 78 virtual void PrintPage(WebKit::WebFrame* frame, bool user_initiated) {} |
79 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} | 79 virtual void FocusedNodeChanged(const WebKit::WebNode& node) {} |
80 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, | 80 virtual void WillCreateMediaPlayer(WebKit::WebFrame* frame, |
81 WebKit::WebMediaPlayerClient* client) {} | 81 WebKit::WebMediaPlayerClient* client) {} |
82 virtual void ZoomLevelChanged() {}; | 82 virtual void ZoomLevelChanged() {}; |
83 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {} | 83 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) {} |
84 virtual void DraggableRegionsChanged(WebKit::WebFrame* frame) {} | 84 virtual void DraggableRegionsChanged(WebKit::WebFrame* frame) {} |
85 virtual void RequestAutocomplete(WebKit::WebFrame* frame, | |
Evan Stade
2012/10/24 21:59:44
this doesn't look like it belongs here
Dan Beam
2012/10/26 03:06:05
this can stay, now, right?
Evan Stade
2012/10/26 03:23:02
no, I still don't believe this belongs. This one i
Ilya Sherman
2012/10/26 03:35:28
Really? This seems like the right place to me. C
Evan Stade
2012/10/26 03:52:53
perhaps ContentRendererClient instead.
Ilya Sherman
2012/10/26 04:03:33
Lots of the methods in RenderViewObserver are only
Evan Stade
2012/10/26 04:06:14
I didn't suggest that.
| |
86 const WebKit::WebFormElement& form) {} | |
85 | 87 |
86 // These match the RenderView methods. | 88 // These match the RenderView methods. |
87 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {} | 89 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) {} |
88 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} | 90 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) {} |
89 virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {} | 91 virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {} |
90 | 92 |
91 // These match incoming IPCs. | 93 // These match incoming IPCs. |
92 virtual void Navigate(const GURL& url) {} | 94 virtual void Navigate(const GURL& url) {} |
93 virtual void ClosePage() {} | 95 virtual void ClosePage() {} |
94 | 96 |
(...skipping 20 matching lines...) Expand all Loading... | |
115 RenderView* render_view_; | 117 RenderView* render_view_; |
116 // The routing ID of the associated RenderView. | 118 // The routing ID of the associated RenderView. |
117 int routing_id_; | 119 int routing_id_; |
118 | 120 |
119 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); | 121 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); |
120 }; | 122 }; |
121 | 123 |
122 } // namespace content | 124 } // namespace content |
123 | 125 |
124 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ | 126 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |