| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 public: | 23 public: |
| 24 ShellContentBrowserClient(); | 24 ShellContentBrowserClient(); |
| 25 virtual ~ShellContentBrowserClient(); | 25 virtual ~ShellContentBrowserClient(); |
| 26 | 26 |
| 27 // ContentBrowserClient overrides. | 27 // ContentBrowserClient overrides. |
| 28 virtual BrowserMainParts* CreateBrowserMainParts( | 28 virtual BrowserMainParts* CreateBrowserMainParts( |
| 29 const MainFunctionParams& parameters) OVERRIDE; | 29 const MainFunctionParams& parameters) OVERRIDE; |
| 30 virtual void RenderProcessHostCreated(RenderProcessHost* host) OVERRIDE; | 30 virtual void RenderProcessHostCreated(RenderProcessHost* host) OVERRIDE; |
| 31 virtual net::URLRequestContextGetter* CreateRequestContext( | 31 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 32 BrowserContext* browser_context, | 32 BrowserContext* browser_context, |
| 33 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 33 ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 34 blob_protocol_handler, | |
| 35 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 36 file_system_protocol_handler, | |
| 37 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 38 developer_protocol_handler, | |
| 39 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 40 chrome_protocol_handler, | |
| 41 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 42 chrome_devtools_protocol_handler) OVERRIDE; | |
| 43 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 34 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 44 BrowserContext* browser_context, | 35 BrowserContext* browser_context, |
| 45 const base::FilePath& partition_path, | 36 const base::FilePath& partition_path, |
| 46 bool in_memory, | 37 bool in_memory, |
| 47 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 38 ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 48 blob_protocol_handler, | |
| 49 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 50 file_system_protocol_handler, | |
| 51 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 52 developer_protocol_handler, | |
| 53 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 54 chrome_protocol_handler, | |
| 55 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 56 chrome_devtools_protocol_handler) OVERRIDE; | |
| 57 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 39 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 58 int child_process_id) OVERRIDE; | 40 int child_process_id) OVERRIDE; |
| 59 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 41 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
| 60 const GURL& url, | 42 const GURL& url, |
| 61 webkit_glue::WebPreferences* prefs) OVERRIDE; | 43 webkit_glue::WebPreferences* prefs) OVERRIDE; |
| 62 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 44 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 63 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 45 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 64 virtual std::string GetDefaultDownloadName() OVERRIDE; | 46 virtual std::string GetDefaultDownloadName() OVERRIDE; |
| 65 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( | 47 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( |
| 66 WebContents* web_contents) OVERRIDE; | 48 WebContents* web_contents) OVERRIDE; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 91 base::FilePath webkit_source_dir_; | 73 base::FilePath webkit_source_dir_; |
| 92 | 74 |
| 93 base::PlatformFile hyphen_dictionary_file_; | 75 base::PlatformFile hyphen_dictionary_file_; |
| 94 | 76 |
| 95 ShellBrowserMainParts* shell_browser_main_parts_; | 77 ShellBrowserMainParts* shell_browser_main_parts_; |
| 96 }; | 78 }; |
| 97 | 79 |
| 98 } // namespace content | 80 } // namespace content |
| 99 | 81 |
| 100 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 82 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |