Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(731)

Side by Side Diff: chromecast/renderer/cast_content_renderer_client.h

Issue 2545733002: chromecast: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromecast/public/video_plane.h ('k') | chromecast/service/cast_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "content/public/renderer/content_renderer_client.h" 12 #include "content/public/renderer/content_renderer_client.h"
13 13
14 namespace IPC {
15 class MessageFilter;
16 }
17
18 namespace network_hints { 14 namespace network_hints {
19 class PrescientNetworkingDispatcher; 15 class PrescientNetworkingDispatcher;
20 } // namespace network_hints 16 } // namespace network_hints
21 17
22 namespace chromecast { 18 namespace chromecast {
23 namespace media { 19 namespace media {
24 class MediaCapsObserverImpl; 20 class MediaCapsObserverImpl;
25 } 21 }
26 22
27 namespace shell { 23 namespace shell {
28 class CastGinRunner;
29 class CastRenderThreadObserver;
30 24
31 void ExecuteJavaScript(content::RenderFrame* render_frame, int resourceId); 25 void ExecuteJavaScript(content::RenderFrame* render_frame, int resourceId);
32 26
33 class CastContentRendererClient : public content::ContentRendererClient { 27 class CastContentRendererClient : public content::ContentRendererClient {
34 public: 28 public:
35 // Creates an implementation of CastContentRendererClient. Platform should 29 // Creates an implementation of CastContentRendererClient. Platform should
36 // link in an implementation as needed. 30 // link in an implementation as needed.
37 static std::unique_ptr<CastContentRendererClient> Create(); 31 static std::unique_ptr<CastContentRendererClient> Create();
38 32
39 ~CastContentRendererClient() override; 33 ~CastContentRendererClient() override;
(...skipping 19 matching lines...) Expand all
59 std::unique_ptr<media::MediaCapsObserverImpl> media_caps_observer_; 53 std::unique_ptr<media::MediaCapsObserverImpl> media_caps_observer_;
60 const bool allow_hidden_media_playback_; 54 const bool allow_hidden_media_playback_;
61 55
62 DISALLOW_COPY_AND_ASSIGN(CastContentRendererClient); 56 DISALLOW_COPY_AND_ASSIGN(CastContentRendererClient);
63 }; 57 };
64 58
65 } // namespace shell 59 } // namespace shell
66 } // namespace chromecast 60 } // namespace chromecast
67 61
68 #endif // CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_ 62 #endif // CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromecast/public/video_plane.h ('k') | chromecast/service/cast_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698