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

Unified Diff: apps/shell/app/shell_main_delegate.h

Issue 331323008: app-shell: Introduce a ShellRendererMainDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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: apps/shell/app/shell_main_delegate.h
diff --git a/apps/shell/app/shell_main_delegate.h b/apps/shell/app/shell_main_delegate.h
index 45ba122f32378f7acb10febcbc8ed46c5a023c91..051612b40f7b2c845f185e5edd3f504a13754043 100644
--- a/apps/shell/app/shell_main_delegate.h
+++ b/apps/shell/app/shell_main_delegate.h
@@ -18,6 +18,7 @@ class ContentRendererClient;
namespace apps {
class ShellBrowserMainDelegate;
+class ShellRendererMainDelegate;
class ShellMainDelegate : public content::ContentMainDelegate {
public:
@@ -35,6 +36,8 @@ class ShellMainDelegate : public content::ContentMainDelegate {
// The created object is owned by ShellBrowserMainParts.
virtual ShellBrowserMainDelegate* CreateShellBrowserMainDelegate();
+ virtual ShellRendererMainDelegate* CreateShellRendererMainDelegate();
James Cook 2014/06/17 17:40:22 Who owns this object?
sadrul 2014/06/17 20:37:38 Good catch. I have changed this to (1) return a sc
+
private:
// |process_type| is zygote, renderer, utility, etc. Returns true if the
// process needs data from resources.pak.
« no previous file with comments | « no previous file | apps/shell/app/shell_main_delegate.cc » ('j') | apps/shell/renderer/shell_renderer_main_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698