diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-15 22:14:25 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-15 22:14:25 +0000 |
commit | b0f146ff51b2b37a2e3549c875fb42365ded7a21 (patch) | |
tree | fc4ee794e7feacbc3d73dfb763b5a90bb11f1041 /content/shell/shell_content_browser_client.h | |
parent | 190efec7b7523f42c0f7e9a5ad80c79c3f68a7d1 (diff) | |
download | chromium_src-b0f146ff51b2b37a2e3549c875fb42365ded7a21.zip chromium_src-b0f146ff51b2b37a2e3549c875fb42365ded7a21.tar.gz chromium_src-b0f146ff51b2b37a2e3549c875fb42365ded7a21.tar.bz2 |
Create a very simple TabContentsView (and not fully implemented yet) and add more supporting code to be able to load a page. Right now it's not rendering, but I suspect it's something small, and the patch has gotten large so I figure it's time to send it for review.
BUG=90445
Review URL: http://codereview.chromium.org/7906008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101395 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_content_browser_client.h')
-rw-r--r-- | content/shell/shell_content_browser_client.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/content/shell/shell_content_browser_client.h b/content/shell/shell_content_browser_client.h index a611197..e61e54c 100644 --- a/content/shell/shell_content_browser_client.h +++ b/content/shell/shell_content_browser_client.h @@ -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 @@ class ShellContentBrowserClient : public ContentBrowserClient { crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( const GURL& url) OVERRIDE; #endif + + private: + ShellBrowserMainParts* shell_browser_main_parts_; }; } // namespace content |