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 3 // found in the LICENSE file. 4 5 #ifndef CHROMECAST_SHELL_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROMECAST_SHELL_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ 7 8 #include "content/public/renderer/content_renderer_client.h" 9 10 namespace chromecast { 11 namespace shell { 12 13 class CastContentRendererClient : public content::ContentRendererClient { 14 public: 15 CastContentRendererClient() {} 16 virtual ~CastContentRendererClient() {} 17 18 // ContentRendererClient implementation: 19 virtual void RenderThreadStarted() OVERRIDE; 20 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; 21 virtual void AddKeySystems( 22 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; 23 }; 24 25 } // namespace shell 26 } // namespace chromecast 27 28 #endif // CHROMECAST_SHELL_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ 29