OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WEBPLUGIN_DELEGATE_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
6 #define CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 6 #define CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 void OnSetWindow(gfx::PluginWindowHandle window); | 140 void OnSetWindow(gfx::PluginWindowHandle window); |
141 #if defined(OS_WIN) | 141 #if defined(OS_WIN) |
142 void OnSetWindowlessPumpEvent(HANDLE modal_loop_pump_messages_event); | 142 void OnSetWindowlessPumpEvent(HANDLE modal_loop_pump_messages_event); |
143 #endif | 143 #endif |
144 void OnCompleteURL(const std::string& url_in, std::string* url_out, | 144 void OnCompleteURL(const std::string& url_in, std::string* url_out, |
145 bool* result); | 145 bool* result); |
146 void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params); | 146 void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params); |
147 void OnCancelResource(int id); | 147 void OnCancelResource(int id); |
148 void OnInvalidateRect(const gfx::Rect& rect, bool allow_buffer_flipping); | 148 void OnInvalidateRect(const gfx::Rect& rect, bool allow_buffer_flipping); |
149 void OnGetWindowScriptNPObject(int route_id, bool* success); | 149 void OnGetWindowScriptNPObject(int route_id, bool* success); |
| 150 void OnResolveProxy(const GURL& url, bool* result, std::string* proxy_list); |
150 void OnGetPluginElement(int route_id, bool* success); | 151 void OnGetPluginElement(int route_id, bool* success); |
151 void OnSetCookie(const GURL& url, | 152 void OnSetCookie(const GURL& url, |
152 const GURL& first_party_for_cookies, | 153 const GURL& first_party_for_cookies, |
153 const std::string& cookie); | 154 const std::string& cookie); |
154 void OnGetCookies(const GURL& url, const GURL& first_party_for_cookies, | 155 void OnGetCookies(const GURL& url, const GURL& first_party_for_cookies, |
155 std::string* cookies); | 156 std::string* cookies); |
156 void OnMissingPluginStatus(int status); | 157 void OnMissingPluginStatus(int status); |
157 void OnCancelDocumentLoad(); | 158 void OnCancelDocumentLoad(); |
158 void OnInitiateHTTPRangeRequest(const std::string& url, | 159 void OnInitiateHTTPRangeRequest(const std::string& url, |
159 const std::string& range_info, | 160 const std::string& range_info, |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 // back-buffer. | 302 // back-buffer. |
302 gfx::Rect front_buffer_diff_; | 303 gfx::Rect front_buffer_diff_; |
303 | 304 |
304 // The url of the main frame hosting the plugin. | 305 // The url of the main frame hosting the plugin. |
305 GURL page_url_; | 306 GURL page_url_; |
306 | 307 |
307 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); | 308 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); |
308 }; | 309 }; |
309 | 310 |
310 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 311 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
OLD | NEW |