| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 virtual void CancelDocumentLoad(); | 140 virtual void CancelDocumentLoad(); |
| 141 virtual void InitiateHTTPRangeRequest( | 141 virtual void InitiateHTTPRangeRequest( |
| 142 const char* url, const char* range_info, int range_request_id); | 142 const char* url, const char* range_info, int range_request_id); |
| 143 virtual void SetDeferResourceLoading(unsigned long resource_id, bool defer); | 143 virtual void SetDeferResourceLoading(unsigned long resource_id, bool defer); |
| 144 virtual bool IsOffTheRecord(); | 144 virtual bool IsOffTheRecord(); |
| 145 virtual void ResourceClientDeleted( | 145 virtual void ResourceClientDeleted( |
| 146 webkit::npapi::WebPluginResourceClient* resource_client); | 146 webkit::npapi::WebPluginResourceClient* resource_client); |
| 147 gfx::NativeViewId containing_window() { return containing_window_; } | 147 gfx::NativeViewId containing_window() { return containing_window_; } |
| 148 | 148 |
| 149 #if defined(OS_MACOSX) | 149 #if defined(OS_MACOSX) |
| 150 virtual void SetImeEnabled(bool enabled); | 150 virtual void FocusChanged(bool focused); |
| 151 |
| 152 virtual void StartIme(); |
| 151 | 153 |
| 152 virtual void BindFakePluginWindowHandle(bool opaque); | 154 virtual void BindFakePluginWindowHandle(bool opaque); |
| 153 | 155 |
| 154 virtual webkit::npapi::WebPluginAcceleratedSurface* GetAcceleratedSurface(); | 156 virtual webkit::npapi::WebPluginAcceleratedSurface* GetAcceleratedSurface(); |
| 155 | 157 |
| 156 // Tell the browser (via the renderer) to invalidate because the | 158 // Tell the browser (via the renderer) to invalidate because the |
| 157 // accelerated buffers have changed. | 159 // accelerated buffers have changed. |
| 158 virtual void AcceleratedFrameBuffersDidSwap( | 160 virtual void AcceleratedFrameBuffersDidSwap( |
| 159 gfx::PluginWindowHandle window, uint64 surface_id); | 161 gfx::PluginWindowHandle window, uint64 surface_id); |
| 160 | 162 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 | 237 |
| 236 #endif | 238 #endif |
| 237 | 239 |
| 238 // Contains the routing id of the host render view. | 240 // Contains the routing id of the host render view. |
| 239 int host_render_view_routing_id_; | 241 int host_render_view_routing_id_; |
| 240 | 242 |
| 241 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 243 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 242 }; | 244 }; |
| 243 | 245 |
| 244 #endif // CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ | 246 #endif // CHROME_PLUGIN_WEBPLUGIN_PROXY_H_ |
| OLD | NEW |