| 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 15 matching lines...) Expand all Loading... |
| 26 void RenderViewCreated(RenderView* render_view) override; | 26 void RenderViewCreated(RenderView* render_view) override; |
| 27 | 27 |
| 28 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we | 28 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we |
| 29 // need that outside of layout tests? | 29 // need that outside of layout tests? |
| 30 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; | 30 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; |
| 31 bool IsPluginAllowedToUseDevChannelAPIs() override; | 31 bool IsPluginAllowedToUseDevChannelAPIs() override; |
| 32 | 32 |
| 33 void DidInitializeWorkerContextOnWorkerThread( | 33 void DidInitializeWorkerContextOnWorkerThread( |
| 34 v8::Local<v8::Context> context) override; | 34 v8::Local<v8::Context> context) override; |
| 35 | 35 |
| 36 void RegisterProcessMojoServices(ServiceRegistry* service_registry) override; | 36 void RegisterProcessMojoInterfaces( |
| 37 shell::InterfaceRegistry* interface_registry) override; |
| 37 | 38 |
| 38 private: | 39 private: |
| 39 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_; | 40 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_; |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace content | 43 } // namespace content |
| 43 | 44 |
| 44 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 45 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |