| 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_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 // Returns true if plugin living in the container can use | 238 // Returns true if plugin living in the container can use |
| 239 // pp::FileIO::RequestOSFileHandle. | 239 // pp::FileIO::RequestOSFileHandle. |
| 240 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 240 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
| 241 WebKit::WebPluginContainer* container) const; | 241 WebKit::WebPluginContainer* container) const; |
| 242 | 242 |
| 243 // Returns whether BrowserPlugin should be allowed within the |container|. | 243 // Returns whether BrowserPlugin should be allowed within the |container|. |
| 244 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; | 244 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; |
| 245 | 245 |
| 246 // Returns true if the page at |url| can use Pepper MediaStream APIs. | 246 // Returns true if the page at |url| can use Pepper MediaStream APIs. |
| 247 virtual bool AllowPepperMediaStreamAPI(const GURL& url) const; | 247 virtual bool AllowPepperMediaStreamAPI(const GURL& url) const; |
| 248 |
| 249 // Returns true if we should report a detailed message (including a stack |
| 250 // trace) for console [logs|errors|exceptions]. |
| 251 virtual bool ShouldReportDetailedMessage(const GURL& url) const; |
| 248 }; | 252 }; |
| 249 | 253 |
| 250 } // namespace content | 254 } // namespace content |
| 251 | 255 |
| 252 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 256 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |