| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ | 5 #ifndef CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ |
| 6 #define CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ | 6 #define CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/hash_tables.h" | 10 #include "base/hash_tables.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 void HandleURLRequest(const char *method, | 104 void HandleURLRequest(const char *method, |
| 105 bool is_javascript_url, | 105 bool is_javascript_url, |
| 106 const char* target, unsigned int len, | 106 const char* target, unsigned int len, |
| 107 const char* buf, bool is_file_data, | 107 const char* buf, bool is_file_data, |
| 108 bool notify, const char* url, | 108 bool notify, const char* url, |
| 109 intptr_t notify_data, bool popups_allowed); | 109 intptr_t notify_data, bool popups_allowed); |
| 110 | 110 |
| 111 void UpdateGeometry(const gfx::Rect& window_rect, | 111 void UpdateGeometry(const gfx::Rect& window_rect, |
| 112 const gfx::Rect& clip_rect, | 112 const gfx::Rect& clip_rect, |
| 113 const TransportDIB::Handle& windowless_buffer, | 113 const TransportDIB::Handle& windowless_buffer, |
| 114 const TransportDIB::Handle& background_buffer); | 114 const TransportDIB::Handle& background_buffer |
| 115 #if defined(OS_MACOSX) |
| 116 , |
| 117 int ack_key |
| 118 #endif |
| 119 ); |
| 115 | 120 |
| 116 void CancelDocumentLoad(); | 121 void CancelDocumentLoad(); |
| 117 | 122 |
| 118 void InitiateHTTPRangeRequest(const char* url, | 123 void InitiateHTTPRangeRequest(const char* url, |
| 119 const char* range_info, | 124 const char* range_info, |
| 120 intptr_t existing_stream, | 125 intptr_t existing_stream, |
| 121 bool notify_needed, | 126 bool notify_needed, |
| 122 intptr_t notify_data); | 127 intptr_t notify_data); |
| 123 | 128 |
| 124 void SetDeferResourceLoading(int resource_id, bool defer); | 129 void SetDeferResourceLoading(int resource_id, bool defer); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 179 |
| 175 #endif | 180 #endif |
| 176 | 181 |
| 177 // Contains the routing id of the host render view. | 182 // Contains the routing id of the host render view. |
| 178 int host_render_view_routing_id_; | 183 int host_render_view_routing_id_; |
| 179 | 184 |
| 180 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 185 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 181 }; | 186 }; |
| 182 | 187 |
| 183 #endif // CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ | 188 #endif // CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ |
| OLD | NEW |