| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 void Paint(const gfx::Rect& rect); | 101 void Paint(const gfx::Rect& rect); |
| 102 | 102 |
| 103 // Callback from the renderer to let us know that a paint occurred. | 103 // Callback from the renderer to let us know that a paint occurred. |
| 104 void DidPaint(); | 104 void DidPaint(); |
| 105 | 105 |
| 106 // Notification received on a plugin issued resource request creation. | 106 // Notification received on a plugin issued resource request creation. |
| 107 void OnResourceCreated(int resource_id, | 107 void OnResourceCreated(int resource_id, |
| 108 webkit_glue::WebPluginResourceClient* client); | 108 webkit_glue::WebPluginResourceClient* client); |
| 109 | 109 |
| 110 void HandleURLRequest(const char* url, | 110 void HandleURLRequest(const char* url, |
| 111 const char *method, | 111 const char* method, |
| 112 const char* target, | 112 const char* target, |
| 113 const char* buf, | 113 const char* buf, |
| 114 unsigned int len, | 114 unsigned int len, |
| 115 int notify_id, | 115 int notify_id, |
| 116 bool popups_allowed); | 116 bool popups_allowed); |
| 117 void UpdateGeometry(const gfx::Rect& window_rect, | 117 void UpdateGeometry(const gfx::Rect& window_rect, |
| 118 const gfx::Rect& clip_rect, | 118 const gfx::Rect& clip_rect, |
| 119 const TransportDIB::Handle& windowless_buffer, | 119 const TransportDIB::Handle& windowless_buffer, |
| 120 const TransportDIB::Handle& background_buffer | 120 const TransportDIB::Handle& background_buffer |
| 121 #if defined(OS_MACOSX) | 121 #if defined(OS_MACOSX) |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 176 |
| 177 #endif | 177 #endif |
| 178 | 178 |
| 179 // Contains the routing id of the host render view. | 179 // Contains the routing id of the host render view. |
| 180 int host_render_view_routing_id_; | 180 int host_render_view_routing_id_; |
| 181 | 181 |
| 182 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 182 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 183 }; | 183 }; |
| 184 | 184 |
| 185 #endif // CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ | 185 #endif // CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ |
| OLD | NEW |