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

Unified Diff: content/common/content_client.h

Issue 6713082: Move WebUIFactory to chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ContentWebUIClient Created 9 years, 9 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
Index: content/common/content_client.h
diff --git a/content/common/content_client.h b/content/common/content_client.h
index 8836a44809fcb25fa5971667f521f95686d703b5..f584630790603827b9092fa7c9558c26be922423 100644
--- a/content/common/content_client.h
+++ b/content/common/content_client.h
@@ -17,6 +17,7 @@ class ContentClient;
class ContentGpuClient;
class ContentPluginClient;
class ContentRendererClient;
+class ContentWebUIClient;
// Setter and getter for the client. The client should be set early, before any
// content code is called.
@@ -37,6 +38,8 @@ class ContentClient {
void set_plugin(ContentPluginClient* r) { plugin_ = r; }
ContentRendererClient* renderer() { return renderer_; }
void set_renderer(ContentRendererClient* r) { renderer_ = r; }
+ ContentWebUIClient* web_ui() { return web_ui_; }
+ void set_web_ui(ContentWebUIClient* w) { web_ui_ = w; }
// Sets the URL that is logged if the child process crashes. Use GURL() to
// clear the URL.
@@ -51,6 +54,8 @@ class ContentClient {
ContentPluginClient* plugin_;
// The embedder API for participating in renderer logic.
ContentRendererClient* renderer_;
+ // The embedder API for participating in WebUI logic.
+ ContentWebUIClient* web_ui_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698