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 |