| 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_PLUGIN_WEBPLUGIN_PROXY_H__ | 5 #ifndef CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ |
| 6 #define CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ | 6 #define CHROME_PLUGIN_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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 const TransportDIB::Handle& background_buffer); | 114 const TransportDIB::Handle& background_buffer); |
| 115 | 115 |
| 116 void CancelDocumentLoad(); | 116 void CancelDocumentLoad(); |
| 117 | 117 |
| 118 void InitiateHTTPRangeRequest(const char* url, | 118 void InitiateHTTPRangeRequest(const char* url, |
| 119 const char* range_info, | 119 const char* range_info, |
| 120 intptr_t existing_stream, | 120 intptr_t existing_stream, |
| 121 bool notify_needed, | 121 bool notify_needed, |
| 122 intptr_t notify_data); | 122 intptr_t notify_data); |
| 123 | 123 |
| 124 void SetDeferResourceLoading(int resource_id, bool defer); |
| 125 |
| 124 bool IsOffTheRecord(); | 126 bool IsOffTheRecord(); |
| 125 | 127 |
| 126 void ResourceClientDeleted(WebPluginResourceClient* resource_client); | 128 void ResourceClientDeleted(WebPluginResourceClient* resource_client); |
| 127 | 129 |
| 128 base::WaitableEvent* modal_dialog_event() { | 130 base::WaitableEvent* modal_dialog_event() { |
| 129 return modal_dialog_event_.get(); | 131 return modal_dialog_event_.get(); |
| 130 } | 132 } |
| 131 | 133 |
| 132 private: | 134 private: |
| 133 bool Send(IPC::Message* msg); | 135 bool Send(IPC::Message* msg); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 // coming from the browser. | 199 // coming from the browser. |
| 198 gfx::PluginWindowHandle container_; | 200 gfx::PluginWindowHandle container_; |
| 199 GtkWidget *plug_; | 201 GtkWidget *plug_; |
| 200 GtkWidget *socket_; | 202 GtkWidget *socket_; |
| 201 #endif | 203 #endif |
| 202 | 204 |
| 203 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 205 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 204 }; | 206 }; |
| 205 | 207 |
| 206 #endif // CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ | 208 #endif // CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ |
| OLD | NEW |