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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 virtual void BrowserURLHandlerCreated( | 204 virtual void BrowserURLHandlerCreated( |
205 content::BrowserURLHandler* handler) OVERRIDE; | 205 content::BrowserURLHandler* handler) OVERRIDE; |
206 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; | 206 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; |
207 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; | 207 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; |
208 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; | 208 virtual base::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 SupportsBrowserPlugin(content::BrowserContext* browser_context, |
| 215 const GURL& site_url) OVERRIDE; |
214 virtual bool AllowPepperSocketAPI( | 216 virtual bool AllowPepperSocketAPI( |
215 content::BrowserContext* browser_context, | 217 content::BrowserContext* browser_context, |
216 const GURL& url, | 218 const GURL& url, |
217 const content::SocketPermissionRequest& params) OVERRIDE; | 219 const content::SocketPermissionRequest& params) OVERRIDE; |
218 virtual base::FilePath GetHyphenDictionaryDirectory() OVERRIDE; | 220 virtual base::FilePath GetHyphenDictionaryDirectory() OVERRIDE; |
219 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( | 221 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( |
220 content::WebContents* web_contents) OVERRIDE; | 222 content::WebContents* web_contents) OVERRIDE; |
221 | 223 |
222 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 224 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
223 virtual void GetAdditionalMappedFilesForChildProcess( | 225 virtual void GetAdditionalMappedFilesForChildProcess( |
(...skipping 26 matching lines...) Expand all Loading... |
250 // 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 |
251 // thread. | 253 // thread. |
252 std::string io_thread_application_locale_; | 254 std::string io_thread_application_locale_; |
253 | 255 |
254 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 256 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
255 }; | 257 }; |
256 | 258 |
257 } // namespace chrome | 259 } // namespace chrome |
258 | 260 |
259 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 261 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |