| 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 int plugin_process_id) OVERRIDE; | 213 int plugin_process_id) OVERRIDE; |
| 214 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, | 214 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, |
| 215 const GURL& site_url) OVERRIDE; | 215 const GURL& site_url) OVERRIDE; |
| 216 virtual bool AllowPepperSocketAPI( | 216 virtual bool AllowPepperSocketAPI( |
| 217 content::BrowserContext* browser_context, | 217 content::BrowserContext* browser_context, |
| 218 const GURL& url, | 218 const GURL& url, |
| 219 const content::SocketPermissionRequest& params) OVERRIDE; | 219 const content::SocketPermissionRequest& params) OVERRIDE; |
| 220 virtual base::FilePath GetHyphenDictionaryDirectory() OVERRIDE; | 220 virtual base::FilePath GetHyphenDictionaryDirectory() OVERRIDE; |
| 221 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( | 221 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( |
| 222 content::WebContents* web_contents) OVERRIDE; | 222 content::WebContents* web_contents) OVERRIDE; |
| 223 virtual std::vector<std::string> |
| 224 GetAdditionalAllowedSchemesForFileSystem() OVERRIDE; |
| 223 | 225 |
| 224 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 226 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 225 virtual void GetAdditionalMappedFilesForChildProcess( | 227 virtual void GetAdditionalMappedFilesForChildProcess( |
| 226 const CommandLine& command_line, | 228 const CommandLine& command_line, |
| 227 int child_process_id, | 229 int child_process_id, |
| 228 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 230 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
| 229 #endif | 231 #endif |
| 230 #if defined(OS_WIN) | 232 #if defined(OS_WIN) |
| 231 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 233 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
| 232 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 234 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 252 // Cached version of the locale so we can return the locale on the I/O | 254 // Cached version of the locale so we can return the locale on the I/O |
| 253 // thread. | 255 // thread. |
| 254 std::string io_thread_application_locale_; | 256 std::string io_thread_application_locale_; |
| 255 | 257 |
| 256 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 258 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 257 }; | 259 }; |
| 258 | 260 |
| 259 } // namespace chrome | 261 } // namespace chrome |
| 260 | 262 |
| 261 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 263 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |