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 18 matching lines...) Expand all Loading... |
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 ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 33 ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
34 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 34 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
35 BrowserContext* browser_context, | 35 BrowserContext* browser_context, |
36 const base::FilePath& partition_path, | 36 const base::FilePath& partition_path, |
37 bool in_memory, | 37 bool in_memory, |
38 ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 38 ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
39 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | |
40 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 39 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
41 int child_process_id) OVERRIDE; | 40 int child_process_id) OVERRIDE; |
42 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 41 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
43 const GURL& url, | 42 const GURL& url, |
44 webkit_glue::WebPreferences* prefs) OVERRIDE; | 43 webkit_glue::WebPreferences* prefs) OVERRIDE; |
45 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 44 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
46 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 45 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
47 virtual std::string GetDefaultDownloadName() OVERRIDE; | 46 virtual std::string GetDefaultDownloadName() OVERRIDE; |
48 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( | 47 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( |
49 WebContents* web_contents) OVERRIDE; | 48 WebContents* web_contents) OVERRIDE; |
(...skipping 24 matching lines...) Expand all Loading... |
74 base::FilePath webkit_source_dir_; | 73 base::FilePath webkit_source_dir_; |
75 | 74 |
76 base::PlatformFile hyphen_dictionary_file_; | 75 base::PlatformFile hyphen_dictionary_file_; |
77 | 76 |
78 ShellBrowserMainParts* shell_browser_main_parts_; | 77 ShellBrowserMainParts* shell_browser_main_parts_; |
79 }; | 78 }; |
80 | 79 |
81 } // namespace content | 80 } // namespace content |
82 | 81 |
83 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 82 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |