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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 virtual std::string GetDefaultDownloadName() OVERRIDE; | 201 virtual std::string GetDefaultDownloadName() OVERRIDE; |
202 virtual void DidCreatePpapiPlugin( | 202 virtual void DidCreatePpapiPlugin( |
203 content::BrowserPpapiHost* browser_host) OVERRIDE; | 203 content::BrowserPpapiHost* browser_host) OVERRIDE; |
204 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 204 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
205 int plugin_process_id) OVERRIDE; | 205 int plugin_process_id) OVERRIDE; |
206 virtual bool AllowPepperSocketAPI( | 206 virtual bool AllowPepperSocketAPI( |
207 content::BrowserContext* browser_context, | 207 content::BrowserContext* browser_context, |
208 const GURL& url, | 208 const GURL& url, |
209 const content::SocketPermissionRequest& params) OVERRIDE; | 209 const content::SocketPermissionRequest& params) OVERRIDE; |
210 virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE; | 210 virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE; |
211 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( | |
212 content::WebContents* web_contents) OVERRIDE; | |
213 | 211 |
214 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 212 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
215 virtual void GetAdditionalMappedFilesForChildProcess( | 213 virtual void GetAdditionalMappedFilesForChildProcess( |
216 const CommandLine& command_line, | 214 const CommandLine& command_line, |
217 int child_process_id, | 215 int child_process_id, |
218 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 216 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
219 #endif | 217 #endif |
220 #if defined(OS_WIN) | 218 #if defined(OS_WIN) |
221 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 219 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
222 #endif | 220 #endif |
(...skipping 17 matching lines...) Expand all Loading... |
240 // Cached version of the locale so we can return the locale on the I/O | 238 // Cached version of the locale so we can return the locale on the I/O |
241 // thread. | 239 // thread. |
242 std::string io_thread_application_locale_; | 240 std::string io_thread_application_locale_; |
243 | 241 |
244 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 242 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
245 }; | 243 }; |
246 | 244 |
247 } // namespace chrome | 245 } // namespace chrome |
248 | 246 |
249 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 247 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |