| 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_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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // we translate into calls to the real WebPlugin. | 148 // we translate into calls to the real WebPlugin. |
| 149 void OnSetWindow(gfx::PluginWindowHandle window); | 149 void OnSetWindow(gfx::PluginWindowHandle window); |
| 150 #if defined(OS_WIN) | 150 #if defined(OS_WIN) |
| 151 void OnSetWindowlessPumpEvent(HANDLE modal_loop_pump_messages_event); | 151 void OnSetWindowlessPumpEvent(HANDLE modal_loop_pump_messages_event); |
| 152 void OnNotifyIMEStatus(const int input_mode, const gfx::Rect& caret_rect); | 152 void OnNotifyIMEStatus(const int input_mode, const gfx::Rect& caret_rect); |
| 153 #endif | 153 #endif |
| 154 void OnCompleteURL(const std::string& url_in, std::string* url_out, | 154 void OnCompleteURL(const std::string& url_in, std::string* url_out, |
| 155 bool* result); | 155 bool* result); |
| 156 void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params); | 156 void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params); |
| 157 void OnCancelResource(int id); | 157 void OnCancelResource(int id); |
| 158 void OnInvalidateRect(const gfx::Rect& rect, bool allow_buffer_flipping); | 158 void OnInvalidateRect(const gfx::Rect& rect); |
| 159 void OnGetWindowScriptNPObject(int route_id, bool* success); | 159 void OnGetWindowScriptNPObject(int route_id, bool* success); |
| 160 void OnResolveProxy(const GURL& url, bool* result, std::string* proxy_list); | 160 void OnResolveProxy(const GURL& url, bool* result, std::string* proxy_list); |
| 161 void OnGetPluginElement(int route_id, bool* success); | 161 void OnGetPluginElement(int route_id, bool* success); |
| 162 void OnSetCookie(const GURL& url, | 162 void OnSetCookie(const GURL& url, |
| 163 const GURL& first_party_for_cookies, | 163 const GURL& first_party_for_cookies, |
| 164 const std::string& cookie); | 164 const std::string& cookie); |
| 165 void OnGetCookies(const GURL& url, const GURL& first_party_for_cookies, | 165 void OnGetCookies(const GURL& url, const GURL& first_party_for_cookies, |
| 166 std::string* cookies); | 166 std::string* cookies); |
| 167 void OnCancelDocumentLoad(); | 167 void OnCancelDocumentLoad(); |
| 168 void OnInitiateHTTPRangeRequest(const std::string& url, | 168 void OnInitiateHTTPRangeRequest(const std::string& url, |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 // back-buffer. | 321 // back-buffer. |
| 322 gfx::Rect front_buffer_diff_; | 322 gfx::Rect front_buffer_diff_; |
| 323 | 323 |
| 324 // The url of the main frame hosting the plugin. | 324 // The url of the main frame hosting the plugin. |
| 325 GURL page_url_; | 325 GURL page_url_; |
| 326 | 326 |
| 327 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); | 327 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); |
| 328 }; | 328 }; |
| 329 | 329 |
| 330 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 330 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
| OLD | NEW |