| 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 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 // ContentRendererClient implementation. | 24 // ContentRendererClient implementation. |
| 25 void RenderThreadStarted() override; | 25 void RenderThreadStarted() override; |
| 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( |
| 34 v8::Local<v8::Context> context) override; |
| 35 |
| 33 private: | 36 private: |
| 34 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_; | 37 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_; |
| 35 }; | 38 }; |
| 36 | 39 |
| 37 } // namespace content | 40 } // namespace content |
| 38 | 41 |
| 39 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 42 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |