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 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
287 | 287 |
288 // Returns true if the page at |url| can use Pepper CameraDevice APIs. | 288 // Returns true if the page at |url| can use Pepper CameraDevice APIs. |
289 virtual bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url); | 289 virtual bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url); |
290 | 290 |
291 // Returns true if the page at |url| can use Pepper Compositor APIs. | 291 // Returns true if the page at |url| can use Pepper Compositor APIs. |
292 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url); | 292 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url); |
293 | 293 |
294 // Returns true if dev channel APIs are available for plugins. | 294 // Returns true if dev channel APIs are available for plugins. |
295 virtual bool IsPluginAllowedToUseDevChannelAPIs(); | 295 virtual bool IsPluginAllowedToUseDevChannelAPIs(); |
296 | 296 |
297 // Returns true if Pepper Multicast APIs are available for plugins. | |
bbudge
2015/03/05 22:02:18
s/Multicast/UDP Multicast
| |
298 virtual bool IsPluginAllowedToUseMulticastAPI(); | |
bbudge
2015/03/05 22:02:18
On further thought, I think 'IsPluginAllowedToUseU
| |
299 | |
297 // Returns a user agent override specific for |url|, or empty string if | 300 // Returns a user agent override specific for |url|, or empty string if |
298 // default user agent should be used. | 301 // default user agent should be used. |
299 virtual std::string GetUserAgentOverrideForURL(const GURL& url); | 302 virtual std::string GetUserAgentOverrideForURL(const GURL& url); |
300 }; | 303 }; |
301 | 304 |
302 } // namespace content | 305 } // namespace content |
303 | 306 |
304 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 307 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |