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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 const std::string& value) OVERRIDE; | 198 const std::string& value) OVERRIDE; |
199 virtual void ClearInspectorSettings(content::RenderViewHost* rvh) OVERRIDE; | 199 virtual void ClearInspectorSettings(content::RenderViewHost* rvh) OVERRIDE; |
200 virtual void BrowserURLHandlerCreated( | 200 virtual void BrowserURLHandlerCreated( |
201 content::BrowserURLHandler* handler) OVERRIDE; | 201 content::BrowserURLHandler* handler) OVERRIDE; |
202 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; | 202 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; |
203 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; | 203 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; |
204 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 204 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
205 virtual std::string GetDefaultDownloadName() OVERRIDE; | 205 virtual std::string GetDefaultDownloadName() OVERRIDE; |
206 virtual void DidCreatePpapiPlugin( | 206 virtual void DidCreatePpapiPlugin( |
207 content::BrowserPpapiHost* browser_host) OVERRIDE; | 207 content::BrowserPpapiHost* browser_host) OVERRIDE; |
208 virtual bool AllowPepperSocketAPI(content::BrowserContext* browser_context, | 208 virtual bool AllowPepperSocketAPI( |
209 const GURL& url) OVERRIDE; | 209 content::BrowserContext* browser_context, |
| 210 const GURL& url, |
| 211 const content::SocketPermissionRequest& params) OVERRIDE; |
210 virtual bool AllowPepperPrivateFileAPI() OVERRIDE; | 212 virtual bool AllowPepperPrivateFileAPI() OVERRIDE; |
211 virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE; | 213 virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE; |
212 | 214 |
213 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 215 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
214 virtual void GetAdditionalMappedFilesForChildProcess( | 216 virtual void GetAdditionalMappedFilesForChildProcess( |
215 const CommandLine& command_line, | 217 const CommandLine& command_line, |
216 int child_process_id, | 218 int child_process_id, |
217 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 219 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
218 #endif | 220 #endif |
219 #if defined(OS_WIN) | 221 #if defined(OS_WIN) |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 // Cached version of the locale so we can return the locale on the I/O | 253 // Cached version of the locale so we can return the locale on the I/O |
252 // thread. | 254 // thread. |
253 std::string io_thread_application_locale_; | 255 std::string io_thread_application_locale_; |
254 | 256 |
255 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 257 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
256 }; | 258 }; |
257 | 259 |
258 } // namespace chrome | 260 } // namespace chrome |
259 | 261 |
260 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 262 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |