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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 WebPluginResourceClient* CreateSeekableResourceClient( | 130 WebPluginResourceClient* CreateSeekableResourceClient( |
131 unsigned long resource_id, | 131 unsigned long resource_id, |
132 int range_request_id) override; | 132 int range_request_id) override; |
133 void FetchURL(unsigned long resource_id, | 133 void FetchURL(unsigned long resource_id, |
134 int notify_id, | 134 int notify_id, |
135 const GURL& url, | 135 const GURL& url, |
136 const GURL& first_party_for_cookies, | 136 const GURL& first_party_for_cookies, |
137 const std::string& method, | 137 const std::string& method, |
138 const char* buf, | 138 const char* buf, |
139 unsigned int len, | 139 unsigned int len, |
140 const GURL& referrer, | 140 const Referrer& referrer, |
141 bool notify_redirects, | 141 bool notify_redirects, |
142 bool is_plugin_src_load, | 142 bool is_plugin_src_load, |
143 int origin_pid, | 143 int origin_pid, |
144 int render_frame_id, | 144 int render_frame_id, |
145 int render_view_id) override; | 145 int render_view_id) override; |
146 | 146 |
147 gfx::PluginWindowHandle GetPluginWindowHandle(); | 147 gfx::PluginWindowHandle GetPluginWindowHandle(); |
148 | 148 |
149 protected: | 149 protected: |
150 friend class base::DeleteHelper<WebPluginDelegateProxy>; | 150 friend class base::DeleteHelper<WebPluginDelegateProxy>; |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 | 309 |
310 // The url of the main frame hosting the plugin. | 310 // The url of the main frame hosting the plugin. |
311 GURL page_url_; | 311 GURL page_url_; |
312 | 312 |
313 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); | 313 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); |
314 }; | 314 }; |
315 | 315 |
316 } // namespace content | 316 } // namespace content |
317 | 317 |
318 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ | 318 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
OLD | NEW |