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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 208 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
209 virtual std::string GetDefaultDownloadName() OVERRIDE; | 209 virtual std::string GetDefaultDownloadName() OVERRIDE; |
210 virtual void DidCreatePpapiPlugin( | 210 virtual void DidCreatePpapiPlugin( |
211 content::BrowserPpapiHost* browser_host) OVERRIDE; | 211 content::BrowserPpapiHost* browser_host) OVERRIDE; |
212 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 212 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
213 int plugin_process_id) OVERRIDE; | 213 int plugin_process_id) OVERRIDE; |
214 virtual bool AllowPepperSocketAPI( | 214 virtual bool AllowPepperSocketAPI( |
215 content::BrowserContext* browser_context, | 215 content::BrowserContext* browser_context, |
216 const GURL& url, | 216 const GURL& url, |
217 const content::SocketPermissionRequest& params) OVERRIDE; | 217 const content::SocketPermissionRequest& params) OVERRIDE; |
218 virtual bool AllowPepperPrivateFileAPI() OVERRIDE; | |
219 virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE; | 218 virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE; |
220 | 219 |
221 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 220 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
222 virtual void GetAdditionalMappedFilesForChildProcess( | 221 virtual void GetAdditionalMappedFilesForChildProcess( |
223 const CommandLine& command_line, | 222 const CommandLine& command_line, |
224 int child_process_id, | 223 int child_process_id, |
225 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 224 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
226 #endif | 225 #endif |
227 #if defined(OS_WIN) | 226 #if defined(OS_WIN) |
228 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 227 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
(...skipping 24 matching lines...) Expand all Loading... |
253 // Cached version of the locale so we can return the locale on the I/O | 252 // Cached version of the locale so we can return the locale on the I/O |
254 // thread. | 253 // thread. |
255 std::string io_thread_application_locale_; | 254 std::string io_thread_application_locale_; |
256 | 255 |
257 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 256 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
258 }; | 257 }; |
259 | 258 |
260 } // namespace chrome | 259 } // namespace chrome |
261 | 260 |
262 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 261 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |