OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ | 5 #ifndef COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ |
6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ | 6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/sequenced_task_runner_helpers.h" | 11 #include "base/sequenced_task_runner_helpers.h" |
12 #include "content/public/renderer/render_view_observer.h" | 12 #include "content/public/renderer/render_view_observer.h" |
13 #include "third_party/WebKit/public/platform/WebCursorInfo.h" | 13 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
14 #include "third_party/WebKit/public/platform/WebString.h" | 14 #include "third_party/WebKit/public/platform/WebString.h" |
15 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 15 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
16 #include "third_party/WebKit/public/web/WebFrameClient.h" | 16 #include "third_party/WebKit/public/web/WebFrameClient.h" |
17 #include "third_party/WebKit/public/web/WebKit.h" | 17 #include "third_party/WebKit/public/web/WebKit.h" |
18 #include "third_party/WebKit/public/web/WebPlugin.h" | 18 #include "third_party/WebKit/public/web/WebPlugin.h" |
19 #include "third_party/WebKit/public/web/WebViewClient.h" | 19 #include "third_party/WebKit/public/web/WebViewClient.h" |
20 | 20 |
21 namespace blink { | 21 namespace blink { |
| 22 class WebFrameWidget; |
22 class WebMouseEvent; | 23 class WebMouseEvent; |
23 } | 24 } |
24 | 25 |
25 namespace content { | 26 namespace content { |
26 class RenderView; | 27 class RenderView; |
27 struct WebPreferences; | 28 struct WebPreferences; |
28 } | 29 } |
29 | 30 |
30 namespace gfx { | 31 namespace gfx { |
31 class Size; | 32 class Size; |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 | 160 |
160 blink::WebCursorInfo current_cursor_; | 161 blink::WebCursorInfo current_cursor_; |
161 | 162 |
162 // Owns us. | 163 // Owns us. |
163 blink::WebPluginContainer* container_; | 164 blink::WebPluginContainer* container_; |
164 | 165 |
165 // Owned by us, deleted via |close()|. | 166 // Owned by us, deleted via |close()|. |
166 blink::WebView* web_view_; | 167 blink::WebView* web_view_; |
167 | 168 |
168 // Owned by us, deleted via |close()|. | 169 // Owned by us, deleted via |close()|. |
| 170 blink::WebFrameWidget* web_frame_widget_; |
| 171 |
| 172 // Owned by us, deleted via |close()|. |
169 blink::WebFrame* web_frame_; | 173 blink::WebFrame* web_frame_; |
170 gfx::Rect rect_; | 174 gfx::Rect rect_; |
171 | 175 |
172 blink::WebURLResponse response_; | 176 blink::WebURLResponse response_; |
173 std::list<std::string> data_; | 177 std::list<std::string> data_; |
174 scoped_ptr<blink::WebURLError> error_; | 178 scoped_ptr<blink::WebURLError> error_; |
175 blink::WebString old_title_; | 179 blink::WebString old_title_; |
176 bool finished_loading_; | 180 bool finished_loading_; |
177 bool focused_; | 181 bool focused_; |
178 }; | 182 }; |
179 | 183 |
180 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ | 184 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ |
OLD | NEW |