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

Unified Diff: content/shell/shell_content_browser_client.h

Issue 9190018: Support sharing of ContentMain and BrowserMain code with embedded use cases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 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
Index: content/shell/shell_content_browser_client.h
===================================================================
--- content/shell/shell_content_browser_client.h (revision 117304)
+++ content/shell/shell_content_browser_client.h (working copy)
@@ -16,6 +16,8 @@
#include "content/browser/tab_contents/tab_contents_view_win_delegate.h"
#endif
+class ShellMainDelegate;
+
namespace content {
class ShellBrowserMainParts;
@@ -26,7 +28,7 @@
#endif
{
public:
- ShellContentBrowserClient();
+ ShellContentBrowserClient(ShellMainDelegate* delegate);
virtual ~ShellContentBrowserClient();
void set_shell_browser_main_parts(ShellBrowserMainParts* parts) {
@@ -179,6 +181,9 @@
#endif
private:
+ // The delegate will always outlive this class.
+ ShellMainDelegate* delegate_;
+
ShellBrowserMainParts* shell_browser_main_parts_;
};

Powered by Google App Engine
This is Rietveld 408576698