OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_BROWSER_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 26 matching lines...) Expand all Loading... |
37 BrowserContext* browser_context, | 37 BrowserContext* browser_context, |
38 ProtocolHandlerMap* protocol_handlers, | 38 ProtocolHandlerMap* protocol_handlers, |
39 URLRequestInterceptorScopedVector request_interceptors) override; | 39 URLRequestInterceptorScopedVector request_interceptors) override; |
40 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 40 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, | 44 ProtocolHandlerMap* protocol_handlers, |
45 URLRequestInterceptorScopedVector request_interceptors) override; | 45 URLRequestInterceptorScopedVector request_interceptors) override; |
46 bool IsHandledURL(const GURL& url) override; | 46 bool IsHandledURL(const GURL& url) override; |
| 47 bool IsNPAPIEnabled() override; |
47 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 48 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
48 int child_process_id) override; | 49 int child_process_id) override; |
49 void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 50 void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
50 WebPreferences* prefs) override; | 51 WebPreferences* prefs) override; |
51 void ResourceDispatcherHostCreated() override; | 52 void ResourceDispatcherHostCreated() override; |
52 AccessTokenStore* CreateAccessTokenStore() override; | 53 AccessTokenStore* CreateAccessTokenStore() override; |
53 std::string GetDefaultDownloadName() override; | 54 std::string GetDefaultDownloadName() override; |
54 WebContentsViewDelegate* GetWebContentsViewDelegate( | 55 WebContentsViewDelegate* GetWebContentsViewDelegate( |
55 WebContents* web_contents) override; | 56 WebContents* web_contents) override; |
56 QuotaPermissionContext* CreateQuotaPermissionContext() override; | 57 QuotaPermissionContext* CreateQuotaPermissionContext() override; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 resource_dispatcher_host_delegate_; | 111 resource_dispatcher_host_delegate_; |
111 | 112 |
112 base::Closure select_client_certificate_callback_; | 113 base::Closure select_client_certificate_callback_; |
113 | 114 |
114 ShellBrowserMainParts* shell_browser_main_parts_; | 115 ShellBrowserMainParts* shell_browser_main_parts_; |
115 }; | 116 }; |
116 | 117 |
117 } // namespace content | 118 } // namespace content |
118 | 119 |
119 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 120 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |