| 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 24 matching lines...) Expand all Loading... |
| 35 const MainFunctionParams& parameters) OVERRIDE; | 35 const MainFunctionParams& parameters) OVERRIDE; |
| 36 virtual void RenderProcessHostCreated(RenderProcessHost* host) OVERRIDE; | 36 virtual void RenderProcessHostCreated(RenderProcessHost* host) OVERRIDE; |
| 37 virtual net::URLRequestContextGetter* CreateRequestContext( | 37 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 38 BrowserContext* browser_context, | 38 BrowserContext* browser_context, |
| 39 ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 39 ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 40 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 40 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 41 BrowserContext* browser_context, | 41 BrowserContext* browser_context, |
| 42 const base::FilePath& partition_path, | 42 const base::FilePath& partition_path, |
| 43 bool in_memory, | 43 bool in_memory, |
| 44 ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 44 ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 45 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 45 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 46 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 46 int child_process_id) OVERRIDE; | 47 int child_process_id) OVERRIDE; |
| 47 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 48 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
| 48 const GURL& url, | 49 const GURL& url, |
| 49 WebPreferences* prefs) OVERRIDE; | 50 WebPreferences* prefs) OVERRIDE; |
| 50 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 51 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 51 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 52 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 52 virtual std::string GetDefaultDownloadName() OVERRIDE; | 53 virtual std::string GetDefaultDownloadName() OVERRIDE; |
| 53 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, | 54 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, |
| 54 const GURL& url) OVERRIDE; | 55 const GURL& url) OVERRIDE; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 base::PlatformFile hyphen_dictionary_file_; | 90 base::PlatformFile hyphen_dictionary_file_; |
| 90 | 91 |
| 91 ShellBrowserMainParts* shell_browser_main_parts_; | 92 ShellBrowserMainParts* shell_browser_main_parts_; |
| 92 | 93 |
| 93 NotificationRegistrar registrar_; | 94 NotificationRegistrar registrar_; |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 } // namespace content | 97 } // namespace content |
| 97 | 98 |
| 98 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 99 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |