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 SocketPermissionParam& params) OVERRIDE; |
205 virtual bool AllowPepperPrivateFileAPI() OVERRIDE; | 207 virtual bool AllowPepperPrivateFileAPI() OVERRIDE; |
206 | 208 |
207 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 209 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
208 virtual void GetAdditionalMappedFilesForChildProcess( | 210 virtual void GetAdditionalMappedFilesForChildProcess( |
209 const CommandLine& command_line, | 211 const CommandLine& command_line, |
210 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; | 212 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; |
211 #endif | 213 #endif |
212 #if defined(OS_WIN) | 214 #if defined(OS_WIN) |
213 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 215 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
214 #endif | 216 #endif |
(...skipping 23 matching lines...) Expand all Loading... |
238 // Cached version of the locale so we can return the locale on the I/O | 240 // Cached version of the locale so we can return the locale on the I/O |
239 // thread. | 241 // thread. |
240 std::string io_thread_application_locale_; | 242 std::string io_thread_application_locale_; |
241 | 243 |
242 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 244 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
243 }; | 245 }; |
244 | 246 |
245 } // namespace chrome | 247 } // namespace chrome |
246 | 248 |
247 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 249 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |