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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 const std::string& value) OVERRIDE; | 193 const std::string& value) OVERRIDE; |
194 virtual void ClearInspectorSettings(content::RenderViewHost* rvh) OVERRIDE; | 194 virtual void ClearInspectorSettings(content::RenderViewHost* rvh) OVERRIDE; |
195 virtual void BrowserURLHandlerCreated( | 195 virtual void BrowserURLHandlerCreated( |
196 content::BrowserURLHandler* handler) OVERRIDE; | 196 content::BrowserURLHandler* handler) OVERRIDE; |
197 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; | 197 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; |
198 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; | 198 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; |
199 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 199 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
200 virtual std::string GetDefaultDownloadName() OVERRIDE; | 200 virtual std::string GetDefaultDownloadName() OVERRIDE; |
201 virtual void DidCreatePpapiPlugin( | 201 virtual void DidCreatePpapiPlugin( |
202 content::BrowserPpapiHost* browser_host) OVERRIDE; | 202 content::BrowserPpapiHost* browser_host) OVERRIDE; |
203 virtual bool AllowPepperSocketAPI(content::BrowserContext* browser_context, | 203 virtual bool AllowPepperSocketAPI( |
204 const GURL& url) OVERRIDE; | 204 content::BrowserContext* browser_context, |
| 205 const GURL& url, |
| 206 const content::SocketPermissionRequest& params) OVERRIDE; |
205 virtual bool AllowPepperPrivateFileAPI() OVERRIDE; | 207 virtual bool AllowPepperPrivateFileAPI() OVERRIDE; |
206 virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE; | 208 virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE; |
207 | 209 |
208 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 210 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
209 virtual void GetAdditionalMappedFilesForChildProcess( | 211 virtual void GetAdditionalMappedFilesForChildProcess( |
210 const CommandLine& command_line, | 212 const CommandLine& command_line, |
211 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 213 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
212 #endif | 214 #endif |
213 #if defined(OS_WIN) | 215 #if defined(OS_WIN) |
214 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 216 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
(...skipping 24 matching lines...) Expand all Loading... |
239 // Cached version of the locale so we can return the locale on the I/O | 241 // Cached version of the locale so we can return the locale on the I/O |
240 // thread. | 242 // thread. |
241 std::string io_thread_application_locale_; | 243 std::string io_thread_application_locale_; |
242 | 244 |
243 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 245 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
244 }; | 246 }; |
245 | 247 |
246 } // namespace chrome | 248 } // namespace chrome |
247 | 249 |
248 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 250 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |