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 |