OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/hash_tables.h" | 10 #include "base/hash_tables.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 // WebPlugin overrides | 61 // WebPlugin overrides |
62 virtual void SetWindow(gfx::PluginWindowHandle window) OVERRIDE; | 62 virtual void SetWindow(gfx::PluginWindowHandle window) OVERRIDE; |
63 | 63 |
64 // Whether input events should be sent to the delegate. | 64 // Whether input events should be sent to the delegate. |
65 virtual void SetAcceptsInputEvents(bool accepts) OVERRIDE; | 65 virtual void SetAcceptsInputEvents(bool accepts) OVERRIDE; |
66 | 66 |
67 virtual void WillDestroyWindow(gfx::PluginWindowHandle window) OVERRIDE; | 67 virtual void WillDestroyWindow(gfx::PluginWindowHandle window) OVERRIDE; |
68 #if defined(OS_WIN) | 68 #if defined(OS_WIN) |
69 void SetWindowlessPumpEvent(HANDLE pump_messages_event); | 69 void SetWindowlessPumpEvent(HANDLE pump_messages_event); |
70 void ReparentPluginWindow(HWND window, HWND parent); | |
71 void ReportExecutableMemory(size_t size); | |
72 #endif | 70 #endif |
73 | 71 |
74 virtual void CancelResource(unsigned long id) OVERRIDE; | 72 virtual void CancelResource(unsigned long id) OVERRIDE; |
75 virtual void Invalidate() OVERRIDE; | 73 virtual void Invalidate() OVERRIDE; |
76 virtual void InvalidateRect(const gfx::Rect& rect) OVERRIDE; | 74 virtual void InvalidateRect(const gfx::Rect& rect) OVERRIDE; |
77 virtual NPObject* GetWindowScriptNPObject() OVERRIDE; | 75 virtual NPObject* GetWindowScriptNPObject() OVERRIDE; |
78 virtual NPObject* GetPluginElement() OVERRIDE; | 76 virtual NPObject* GetPluginElement() OVERRIDE; |
79 virtual bool FindProxyForUrl(const GURL& url, | 77 virtual bool FindProxyForUrl(const GURL& url, |
80 std::string* proxy_list) OVERRIDE; | 78 std::string* proxy_list) OVERRIDE; |
81 virtual void SetCookie(const GURL& url, | 79 virtual void SetCookie(const GURL& url, |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 | 303 |
306 #endif | 304 #endif |
307 | 305 |
308 // Contains the routing id of the host render view. | 306 // Contains the routing id of the host render view. |
309 int host_render_view_routing_id_; | 307 int host_render_view_routing_id_; |
310 | 308 |
311 base::WeakPtrFactory<WebPluginProxy> weak_factory_; | 309 base::WeakPtrFactory<WebPluginProxy> weak_factory_; |
312 }; | 310 }; |
313 | 311 |
314 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 312 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
OLD | NEW |