| 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_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ | 6 #define CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 ~CastContentRendererClient() override; | 23 ~CastContentRendererClient() override; |
| 24 | 24 |
| 25 // ContentRendererClient implementation: | 25 // ContentRendererClient implementation: |
| 26 void RenderThreadStarted() override; | 26 void RenderThreadStarted() override; |
| 27 void RenderViewCreated(content::RenderView* render_view) override; | 27 void RenderViewCreated(content::RenderView* render_view) override; |
| 28 void AddKeySystems( | 28 void AddKeySystems( |
| 29 std::vector< ::media::KeySystemInfo>* key_systems) override; | 29 std::vector< ::media::KeySystemInfo>* key_systems) override; |
| 30 scoped_ptr<media::RendererFactory> CreateMediaRendererFactory( | 30 scoped_ptr<media::RendererFactory> CreateMediaRendererFactory( |
| 31 content::RenderFrame* render_frame) override; | 31 content::RenderFrame* render_frame) override; |
| 32 blink::WebPrescientNetworking* GetPrescientNetworking() override; | 32 blink::WebPrescientNetworking* GetPrescientNetworking() override; |
| 33 void DeferMediaLoad(content::RenderFrame* render_frame, |
| 34 const base::Closure& closure) override; |
| 33 | 35 |
| 34 private: | 36 private: |
| 35 scoped_ptr<dns_prefetch::PrescientNetworkingDispatcher> | 37 scoped_ptr<dns_prefetch::PrescientNetworkingDispatcher> |
| 36 prescient_networking_dispatcher_; | 38 prescient_networking_dispatcher_; |
| 37 | 39 |
| 38 DISALLOW_COPY_AND_ASSIGN(CastContentRendererClient); | 40 DISALLOW_COPY_AND_ASSIGN(CastContentRendererClient); |
| 39 }; | 41 }; |
| 40 | 42 |
| 41 } // namespace shell | 43 } // namespace shell |
| 42 } // namespace chromecast | 44 } // namespace chromecast |
| 43 | 45 |
| 44 #endif // CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ | 46 #endif // CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |