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_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
6 #define CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/public/renderer/content_renderer_client.h" | 10 #include "content/public/renderer/content_renderer_client.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 ~ShellContentRendererClient() override; | 23 ~ShellContentRendererClient() override; |
24 | 24 |
25 // ContentRendererClient implementation. | 25 // ContentRendererClient implementation. |
26 void RenderThreadStarted() override; | 26 void RenderThreadStarted() override; |
27 void RenderViewCreated(RenderView* render_view) override; | 27 void RenderViewCreated(RenderView* render_view) override; |
28 | 28 |
29 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we | 29 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we |
30 // need that outside of layout tests? | 30 // need that outside of layout tests? |
31 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; | 31 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; |
32 bool IsPluginAllowedToUseDevChannelAPIs() override; | 32 bool IsPluginAllowedToUseDevChannelAPIs() override; |
| 33 bool IsPluginAllowedToUseMulticastAPI() override; |
33 | 34 |
34 private: | 35 private: |
35 scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_; | 36 scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_; |
36 }; | 37 }; |
37 | 38 |
38 } // namespace content | 39 } // namespace content |
39 | 40 |
40 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 41 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |