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

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

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/common/content_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_client.cc
===================================================================
--- content/public/common/content_client.cc (revision 117388)
+++ content/public/common/content_client.cc (working copy)
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "base/string_piece.h"
#include "webkit/glue/webkit_glue.h"
+#include "webkit/plugins/ppapi/host_globals.h"
namespace content {
@@ -38,6 +39,10 @@
return webkit_glue::GetUserAgent(url);
}
+webkit::ppapi::HostGlobals* GetHostGlobals() {
+ return webkit::ppapi::HostGlobals::Get();
+}
+
ContentClient::ContentClient()
: browser_(NULL), plugin_(NULL), renderer_(NULL), utility_(NULL) {
}
« no previous file with comments | « content/public/common/content_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698