Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: content/public/common/content_client.h

Issue 9188056: Start splitting out WebUI into an implementation class and an interface that each page implements... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/web_ui_message_handler.h ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « content/public/browser/web_ui_message_handler.h ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698