namespace extensions {
class ShellBrowserMainDelegate;
-class ShellRendererMainDelegate;
class ShellMainDelegate : public content::ContentMainDelegate {
public:
virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE;
virtual content::ContentRendererClient* CreateContentRendererClient()
OVERRIDE;
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
+ virtual void ZygoteStarting(
+ ScopedVector<content::ZygoteForkDelegate>* delegates) OVERRIDE;
+#endif
protected:
// The created object is owned by this object.
+ virtual content::ContentClient* CreateContentClient();
virtual content::ContentBrowserClient* CreateShellContentBrowserClient();
-
- // The returned object is owned by ShellContentRendererClient.
- virtual scoped_ptr<ShellRendererMainDelegate>
- CreateShellRendererMainDelegate();
+ virtual content::ContentRendererClient* CreateShellContentRendererClient();
// Initializes the resource bundle and resources.pak.
virtual void InitializeResourceBundle();