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 26 matching lines...) Expand all Loading... |
37 bool in_memory, | 37 bool in_memory, |
38 ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 38 ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
39 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 39 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
40 int child_process_id) OVERRIDE; | 40 int child_process_id) OVERRIDE; |
41 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 41 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
42 const GURL& url, | 42 const GURL& url, |
43 webkit_glue::WebPreferences* prefs) OVERRIDE; | 43 webkit_glue::WebPreferences* prefs) OVERRIDE; |
44 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 44 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
45 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 45 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
46 virtual std::string GetDefaultDownloadName() OVERRIDE; | 46 virtual std::string GetDefaultDownloadName() OVERRIDE; |
| 47 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, |
| 48 const GURL& url) OVERRIDE; |
47 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( | 49 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( |
48 WebContents* web_contents) OVERRIDE; | 50 WebContents* web_contents) OVERRIDE; |
49 | 51 |
50 #if defined(OS_ANDROID) | 52 #if defined(OS_ANDROID) |
51 virtual void GetAdditionalMappedFilesForChildProcess( | 53 virtual void GetAdditionalMappedFilesForChildProcess( |
52 const CommandLine& command_line, | 54 const CommandLine& command_line, |
53 int child_process_id, | 55 int child_process_id, |
54 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 56 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
55 #endif | 57 #endif |
56 | 58 |
(...skipping 16 matching lines...) Expand all Loading... |
73 base::FilePath webkit_source_dir_; | 75 base::FilePath webkit_source_dir_; |
74 | 76 |
75 base::PlatformFile hyphen_dictionary_file_; | 77 base::PlatformFile hyphen_dictionary_file_; |
76 | 78 |
77 ShellBrowserMainParts* shell_browser_main_parts_; | 79 ShellBrowserMainParts* shell_browser_main_parts_; |
78 }; | 80 }; |
79 | 81 |
80 } // namespace content | 82 } // namespace content |
81 | 83 |
82 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 84 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |