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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 // Returns true if plugin living in the container can use | 232 // Returns true if plugin living in the container can use |
233 // pp::FileIO::RequestOSFileHandle. | 233 // pp::FileIO::RequestOSFileHandle. |
234 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 234 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
235 WebKit::WebPluginContainer* container) const; | 235 WebKit::WebPluginContainer* container) const; |
236 | 236 |
237 // Returns whether BrowserPlugin should be allowed within the |container|. | 237 // Returns whether BrowserPlugin should be allowed within the |container|. |
238 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; | 238 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; |
239 | 239 |
240 // Returns true if the page at |url| can use Pepper MediaStream APIs. | 240 // Returns true if the page at |url| can use Pepper MediaStream APIs. |
241 virtual bool AllowPepperMediaStreamAPI(const GURL& url) const; | 241 virtual bool AllowPepperMediaStreamAPI(const GURL& url) const; |
| 242 |
| 243 // Returns true if we should report a detailed message (including a stack |
| 244 // trace) for console [logs|errors|exceptions]. |
| 245 virtual bool ShouldReportDetailedMessage(const GURL& url) const; |
242 }; | 246 }; |
243 | 247 |
244 } // namespace content | 248 } // namespace content |
245 | 249 |
246 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 250 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |