| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 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 | 33 |
| 34 void DidInitializeWorkerContextOnWorkerThread( | 34 void DidInitializeWorkerContextOnWorkerThread( |
| 35 v8::Local<v8::Context> context) override; | 35 v8::Local<v8::Context> context) override; |
| 36 | 36 |
| 37 void ExposeInterfacesToBrowser( | |
| 38 service_manager::InterfaceRegistry* interface_registry) override; | |
| 39 | |
| 40 #if defined(ENABLE_MOJO_CDM) | 37 #if defined(ENABLE_MOJO_CDM) |
| 41 void AddSupportedKeySystems( | 38 void AddSupportedKeySystems( |
| 42 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems) | 39 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems) |
| 43 override; | 40 override; |
| 44 #endif | 41 #endif |
| 45 | 42 |
| 46 private: | 43 private: |
| 47 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_; | 44 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_; |
| 48 }; | 45 }; |
| 49 | 46 |
| 50 } // namespace content | 47 } // namespace content |
| 51 | 48 |
| 52 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 49 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |