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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 virtual | 597 virtual |
598 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 598 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
599 const GURL& url); | 599 const GURL& url); |
600 #endif | 600 #endif |
601 | 601 |
602 // Returns true if plugin referred to by the url can use | 602 // Returns true if plugin referred to by the url can use |
603 // pp::FileIO::RequestOSFileHandle. | 603 // pp::FileIO::RequestOSFileHandle. |
604 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 604 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
605 content::BrowserContext* browser_context, | 605 content::BrowserContext* browser_context, |
606 const GURL& url); | 606 const GURL& url); |
| 607 |
| 608 // Checks if WebGL extension WEBGL_debug_renderer_info is allowed for |url|. |
| 609 virtual bool AllowWebGLDebugRendererInfoForDomain(const GURL& url) const; |
607 }; | 610 }; |
608 | 611 |
609 } // namespace content | 612 } // namespace content |
610 | 613 |
611 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 614 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |