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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
236 // Returns true if plugin living in the container can use | 236 // Returns true if plugin living in the container can use |
237 // pp::FileIO::RequestOSFileHandle. | 237 // pp::FileIO::RequestOSFileHandle. |
238 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 238 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
239 WebKit::WebPluginContainer* container); | 239 WebKit::WebPluginContainer* container); |
240 | 240 |
241 // Returns whether BrowserPlugin should be allowed within the |container|. | 241 // Returns whether BrowserPlugin should be allowed within the |container|. |
242 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container); | 242 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container); |
243 | 243 |
244 // Returns true if the page at |url| can use Pepper MediaStream APIs. | 244 // Returns true if the page at |url| can use Pepper MediaStream APIs. |
245 virtual bool AllowPepperMediaStreamAPI(const GURL& url); | 245 virtual bool AllowPepperMediaStreamAPI(const GURL& url); |
246 | |
247 // Returns true if we should report a detailed message (including a stack | |
248 // trace) for console [logs|errors|exceptions]. | |
249 virtual bool ShouldReportDetailedMessageForSource( | |
250 const base::string16& source) const; | |
Jói
2013/08/20 12:16:49
Please document the semantics of the |source| para
Devlin
2013/08/20 16:09:36
Done.
| |
246 }; | 251 }; |
247 | 252 |
248 } // namespace content | 253 } // namespace content |
249 | 254 |
250 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 255 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |