| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 #if defined(OS_WIN) | 66 #if defined(OS_WIN) |
| 67 void SetWindowlessPumpEvent(HANDLE pump_messages_event); | 67 void SetWindowlessPumpEvent(HANDLE pump_messages_event); |
| 68 void ReparentPluginWindow(HWND window, HWND parent); | 68 void ReparentPluginWindow(HWND window, HWND parent); |
| 69 #endif | 69 #endif |
| 70 | 70 |
| 71 virtual void CancelResource(unsigned long id); | 71 virtual void CancelResource(unsigned long id); |
| 72 virtual void Invalidate(); | 72 virtual void Invalidate(); |
| 73 virtual void InvalidateRect(const gfx::Rect& rect); | 73 virtual void InvalidateRect(const gfx::Rect& rect); |
| 74 virtual NPObject* GetWindowScriptNPObject(); | 74 virtual NPObject* GetWindowScriptNPObject(); |
| 75 virtual NPObject* GetPluginElement(); | 75 virtual NPObject* GetPluginElement(); |
| 76 virtual bool FindProxyForUrl(const GURL& url, std::string* proxy_list); |
| 76 virtual void SetCookie(const GURL& url, | 77 virtual void SetCookie(const GURL& url, |
| 77 const GURL& first_party_for_cookies, | 78 const GURL& first_party_for_cookies, |
| 78 const std::string& cookie); | 79 const std::string& cookie); |
| 79 virtual std::string GetCookies(const GURL& url, | 80 virtual std::string GetCookies(const GURL& url, |
| 80 const GURL& first_party_for_cookies); | 81 const GURL& first_party_for_cookies); |
| 81 | 82 |
| 82 virtual void OnMissingPluginStatus(int status); | 83 virtual void OnMissingPluginStatus(int status); |
| 83 // class-specific methods | 84 // class-specific methods |
| 84 | 85 |
| 85 // Returns a WebPluginResourceClient object given its id, or NULL if no | 86 // Returns a WebPluginResourceClient object given its id, or NULL if no |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 264 |
| 264 #endif | 265 #endif |
| 265 | 266 |
| 266 // Contains the routing id of the host render view. | 267 // Contains the routing id of the host render view. |
| 267 int host_render_view_routing_id_; | 268 int host_render_view_routing_id_; |
| 268 | 269 |
| 269 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 270 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 270 }; | 271 }; |
| 271 | 272 |
| 272 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 273 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
| OLD | NEW |