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

Unified Diff: content/shell/shell_content_browser_client.h

Issue 7906008: Create a very simple TabContentsView (and not fully implemented yet) and add more supporting code... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 100929)
+++ content/shell/shell_content_browser_client.h (working copy)
@@ -9,14 +9,22 @@
#include <string>
#include "base/compiler_specific.h"
+#include "base/memory/scoped_ptr.h"
#include "content/browser/content_browser_client.h"
namespace content {
+class ShellBrowserMainParts;
+
class ShellContentBrowserClient : public ContentBrowserClient {
public:
+ ShellContentBrowserClient();
virtual ~ShellContentBrowserClient();
+ void set_shell_browser_main_parts(ShellBrowserMainParts* parts) {
+ shell_browser_main_parts_ = parts;
+ }
+
virtual BrowserMainParts* CreateBrowserMainParts(
const MainFunctionParams& parameters) OVERRIDE;
virtual TabContentsView* CreateTabContentsView(
@@ -136,6 +144,9 @@
crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
const GURL& url) OVERRIDE;
#endif
+
+ private:
+ ShellBrowserMainParts* shell_browser_main_parts_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698