| 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_PLUGIN_WEBPLUGIN_PROXY_H_ | 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
| 6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 | 161 |
| 162 // Create/destroy TranportDIBs via messages to the browser process. | 162 // Create/destroy TranportDIBs via messages to the browser process. |
| 163 // These are only used when IOSurface support is not available. | 163 // These are only used when IOSurface support is not available. |
| 164 virtual void AllocSurfaceDIB(const size_t size, | 164 virtual void AllocSurfaceDIB(const size_t size, |
| 165 TransportDIB::Handle* dib_handle); | 165 TransportDIB::Handle* dib_handle); |
| 166 virtual void FreeSurfaceDIB(TransportDIB::Id dib_id); | 166 virtual void FreeSurfaceDIB(TransportDIB::Id dib_id); |
| 167 #endif | 167 #endif |
| 168 | 168 |
| 169 virtual void URLRedirectResponse(bool allow, int resource_id); | 169 virtual void URLRedirectResponse(bool allow, int resource_id); |
| 170 | 170 |
| 171 #if defined(OS_WIN) | 171 #if defined(OS_WIN) && !defined(USE_AURA) |
| 172 // Retrieves the IME status from a windowless plug-in and sends it to a | 172 // Retrieves the IME status from a windowless plug-in and sends it to a |
| 173 // renderer process. A renderer process will convert the coordinates from | 173 // renderer process. A renderer process will convert the coordinates from |
| 174 // local to the window coordinates and send the converted coordinates to a | 174 // local to the window coordinates and send the converted coordinates to a |
| 175 // browser process. | 175 // browser process. |
| 176 void UpdateIMEStatus(); | 176 void UpdateIMEStatus(); |
| 177 #endif | 177 #endif |
| 178 | 178 |
| 179 private: | 179 private: |
| 180 bool Send(IPC::Message* msg); | 180 bool Send(IPC::Message* msg); |
| 181 | 181 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 | 271 |
| 272 #endif | 272 #endif |
| 273 | 273 |
| 274 // Contains the routing id of the host render view. | 274 // Contains the routing id of the host render view. |
| 275 int host_render_view_routing_id_; | 275 int host_render_view_routing_id_; |
| 276 | 276 |
| 277 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 277 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 278 }; | 278 }; |
| 279 | 279 |
| 280 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 280 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
| OLD | NEW |