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

Unified Diff: apps/shell/shell_main_delegate.h

Issue 149163002: app_shell: Add ShellContentRendererClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (content_renderer_client) Created 6 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 | « apps/shell/shell_extensions_client.cc ('k') | apps/shell/shell_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/shell_main_delegate.h
diff --git a/apps/shell/shell_main_delegate.h b/apps/shell/shell_main_delegate.h
index 19f033356e38a59091b45b2c51981a0faebc62be..14f56589df52f26898da9c5c086e18a62be7b5af 100644
--- a/apps/shell/shell_main_delegate.h
+++ b/apps/shell/shell_main_delegate.h
@@ -13,6 +13,7 @@ namespace apps {
class ShellContentBrowserClient;
class ShellContentClient;
+class ShellContentRendererClient;
class ShellMainDelegate : public content::ContentMainDelegate {
public:
@@ -26,11 +27,17 @@ class ShellMainDelegate : public content::ContentMainDelegate {
virtual content::ContentRendererClient* CreateContentRendererClient()
OVERRIDE;
+ private:
+ // |process_type| is zygote, renderer, utility, etc. Returns true if the
+ // process needs data from resources.pak.
+ static bool ProcessNeedsResourceBundle(const std::string& process_type);
+
+ // Initializes the resource bundle and resources.pak.
static void InitializeResourceBundle();
- private:
scoped_ptr<ShellContentClient> content_client_;
scoped_ptr<ShellContentBrowserClient> browser_client_;
+ scoped_ptr<ShellContentRendererClient> renderer_client_;
DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate);
};
« no previous file with comments | « apps/shell/shell_extensions_client.cc ('k') | apps/shell/shell_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698