| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_SHELL_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CHROMECAST_SHELL_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CHROMECAST_SHELL_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ | 6 #define CHROMECAST_SHELL_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "content/public/renderer/content_renderer_client.h" | 8 #include "content/public/renderer/content_renderer_client.h" |
| 9 | 9 |
| 10 namespace chromecast { | 10 namespace chromecast { |
| 11 namespace shell { | 11 namespace shell { |
| 12 | 12 |
| 13 class CastContentRendererClient : public content::ContentRendererClient { | 13 class CastContentRendererClient : public content::ContentRendererClient { |
| 14 public: | 14 public: |
| 15 CastContentRendererClient() {} | 15 CastContentRendererClient() {} |
| 16 virtual ~CastContentRendererClient() {} | 16 virtual ~CastContentRendererClient() {} |
| 17 | 17 |
| 18 // ContentRendererClient implementation: | 18 // ContentRendererClient implementation: |
| 19 virtual void RenderThreadStarted() OVERRIDE; | 19 virtual void RenderThreadStarted() override; |
| 20 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; | 20 virtual void RenderViewCreated(content::RenderView* render_view) override; |
| 21 virtual void AddKeySystems( | 21 virtual void AddKeySystems( |
| 22 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; | 22 std::vector<content::KeySystemInfo>* key_systems) override; |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 } // namespace shell | 25 } // namespace shell |
| 26 } // namespace chromecast | 26 } // namespace chromecast |
| 27 | 27 |
| 28 #endif // CHROMECAST_SHELL_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ | 28 #endif // CHROMECAST_SHELL_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |