| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 // WebPlugin overrides | 55 // WebPlugin overrides |
| 56 virtual void SetWindow(gfx::PluginWindowHandle window); | 56 virtual void SetWindow(gfx::PluginWindowHandle window); |
| 57 | 57 |
| 58 // Whether input events should be sent to the delegate. | 58 // Whether input events should be sent to the delegate. |
| 59 virtual void SetAcceptsInputEvents(bool accepts); | 59 virtual void SetAcceptsInputEvents(bool accepts); |
| 60 | 60 |
| 61 virtual void WillDestroyWindow(gfx::PluginWindowHandle window); | 61 virtual void WillDestroyWindow(gfx::PluginWindowHandle window); |
| 62 #if defined(OS_WIN) | 62 #if defined(OS_WIN) |
| 63 void SetWindowlessPumpEvent(HANDLE pump_messages_event); | 63 void SetWindowlessPumpEvent(HANDLE pump_messages_event); |
| 64 void ReparentPluginWindow(HWND window, HWND parent); |
| 64 #endif | 65 #endif |
| 65 | 66 |
| 66 virtual void CancelResource(unsigned long id); | 67 virtual void CancelResource(unsigned long id); |
| 67 virtual void Invalidate(); | 68 virtual void Invalidate(); |
| 68 virtual void InvalidateRect(const gfx::Rect& rect); | 69 virtual void InvalidateRect(const gfx::Rect& rect); |
| 69 virtual NPObject* GetWindowScriptNPObject(); | 70 virtual NPObject* GetWindowScriptNPObject(); |
| 70 virtual NPObject* GetPluginElement(); | 71 virtual NPObject* GetPluginElement(); |
| 71 virtual void SetCookie(const GURL& url, | 72 virtual void SetCookie(const GURL& url, |
| 72 const GURL& first_party_for_cookies, | 73 const GURL& first_party_for_cookies, |
| 73 const std::string& cookie); | 74 const std::string& cookie); |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 217 |
| 217 #endif | 218 #endif |
| 218 | 219 |
| 219 // Contains the routing id of the host render view. | 220 // Contains the routing id of the host render view. |
| 220 int host_render_view_routing_id_; | 221 int host_render_view_routing_id_; |
| 221 | 222 |
| 222 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 223 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 223 }; | 224 }; |
| 224 | 225 |
| 225 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 226 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
| OLD | NEW |