| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 void SetCookie(const GURL& url, | 76 virtual void SetCookie(const GURL& url, |
| 77 const GURL& first_party_for_cookies, | 77 const GURL& first_party_for_cookies, |
| 78 const std::string& cookie); | 78 const std::string& cookie); |
| 79 virtual std::string GetCookies(const GURL& url, | 79 virtual std::string GetCookies(const GURL& url, |
| 80 const GURL& first_party_for_cookies); | 80 const GURL& first_party_for_cookies); |
| 81 | 81 |
| 82 virtual void OnMissingPluginStatus(int status); | |
| 83 // class-specific methods | 82 // class-specific methods |
| 84 | 83 |
| 85 // Returns a WebPluginResourceClient object given its id, or NULL if no | 84 // Returns a WebPluginResourceClient object given its id, or NULL if no |
| 86 // object with that id exists. | 85 // object with that id exists. |
| 87 webkit::npapi::WebPluginResourceClient* GetResourceClient(int id); | 86 webkit::npapi::WebPluginResourceClient* GetResourceClient(int id); |
| 88 | 87 |
| 89 // Returns the id of the renderer that contains this plugin. | 88 // Returns the id of the renderer that contains this plugin. |
| 90 int GetRendererId(); | 89 int GetRendererId(); |
| 91 | 90 |
| 92 // Returns the id of the associated render view. | 91 // Returns the id of the associated render view. |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 262 |
| 264 #endif | 263 #endif |
| 265 | 264 |
| 266 // Contains the routing id of the host render view. | 265 // Contains the routing id of the host render view. |
| 267 int host_render_view_routing_id_; | 266 int host_render_view_routing_id_; |
| 268 | 267 |
| 269 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 268 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 270 }; | 269 }; |
| 271 | 270 |
| 272 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 271 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
| OLD | NEW |