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_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ | 6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 int notify_id, | 131 int notify_id, |
132 const GURL& url, | 132 const GURL& url, |
133 const GURL& first_party_for_cookies, | 133 const GURL& first_party_for_cookies, |
134 const std::string& method, | 134 const std::string& method, |
135 const char* buf, | 135 const char* buf, |
136 unsigned int len, | 136 unsigned int len, |
137 const GURL& referrer, | 137 const GURL& referrer, |
138 bool notify_redirects, | 138 bool notify_redirects, |
139 bool is_plugin_src_load, | 139 bool is_plugin_src_load, |
140 int origin_pid, | 140 int origin_pid, |
141 int render_frame_id) OVERRIDE; | 141 int render_frame_id, |
| 142 int render_view_id) OVERRIDE; |
142 | 143 |
143 gfx::PluginWindowHandle GetPluginWindowHandle(); | 144 gfx::PluginWindowHandle GetPluginWindowHandle(); |
144 | 145 |
145 protected: | 146 protected: |
146 friend class base::DeleteHelper<WebPluginDelegateProxy>; | 147 friend class base::DeleteHelper<WebPluginDelegateProxy>; |
147 virtual ~WebPluginDelegateProxy(); | 148 virtual ~WebPluginDelegateProxy(); |
148 | 149 |
149 private: | 150 private: |
150 struct SharedBitmap { | 151 struct SharedBitmap { |
151 SharedBitmap(); | 152 SharedBitmap(); |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 | 306 |
306 // The url of the main frame hosting the plugin. | 307 // The url of the main frame hosting the plugin. |
307 GURL page_url_; | 308 GURL page_url_; |
308 | 309 |
309 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); | 310 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); |
310 }; | 311 }; |
311 | 312 |
312 } // namespace content | 313 } // namespace content |
313 | 314 |
314 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ | 315 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
OLD | NEW |