Index: content/public/common/content_client.h |
=================================================================== |
--- content/public/common/content_client.h (revision 117388) |
+++ content/public/common/content_client.h (working copy) |
@@ -30,7 +30,11 @@ |
namespace npapi { |
class PluginList; |
} |
+ |
+namespace ppapi { |
+class HostGlobals; |
} |
+} |
namespace content { |
@@ -57,6 +61,10 @@ |
// webkit_glue. |
CONTENT_EXPORT const std::string& GetUserAgent(const GURL& url); |
+// Returns the PPAPI global singleton. See webkit/plugins/ppapi/host_globals.h |
+// TODO(dpranke): Also needed since webkit_glue is a library. |
+CONTENT_EXPORT webkit::ppapi::HostGlobals* GetHostGlobals(); |
+ |
// Interface that the embedder implements. |
class CONTENT_EXPORT ContentClient { |
public: |