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

Side by Side Diff: remoting/client/plugin/pepper_video_renderer.h

Issue 2538183002: remoting: 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
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 REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_H_ 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_H_
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_H_ 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_H_
7 7
8 #include "remoting/protocol/video_renderer.h" 8 #include "remoting/protocol/video_renderer.h"
9 9
10 namespace webrtc { 10 namespace webrtc {
11 class DesktopSize;
12 class DesktopVector;
13 class DesktopRegion; 11 class DesktopRegion;
14 } // namespace webrtc 12 } // namespace webrtc
15 13
16 namespace pp { 14 namespace pp {
17 class Instance; 15 class Instance;
18 class View; 16 class View;
19 } // namespace pp 17 } // namespace pp
20 18
21 namespace remoting { 19 namespace remoting {
22 20
23 class ClientContext;
24
25 namespace protocol {
26 class FrameStatsConsumer;
27 } // namespace protocol
28
29 // Interface for video renderers that render video in pepper plugin. 21 // Interface for video renderers that render video in pepper plugin.
30 class PepperVideoRenderer : public protocol::VideoRenderer { 22 class PepperVideoRenderer : public protocol::VideoRenderer {
31 public: 23 public:
32 class EventHandler { 24 class EventHandler {
33 public: 25 public:
34 EventHandler() {} 26 EventHandler() {}
35 virtual ~EventHandler() {} 27 virtual ~EventHandler() {}
36 28
37 // Called if video decoding fails, for any reason. 29 // Called if video decoding fails, for any reason.
38 virtual void OnVideoDecodeError() = 0; 30 virtual void OnVideoDecodeError() = 0;
(...skipping 16 matching lines...) Expand all
55 virtual void OnViewChanged(const pp::View& view) = 0; 47 virtual void OnViewChanged(const pp::View& view) = 0;
56 48
57 // Enables or disables delivery of dirty region information to the 49 // Enables or disables delivery of dirty region information to the
58 // EventHandler, for debugging purposes. 50 // EventHandler, for debugging purposes.
59 virtual void EnableDebugDirtyRegion(bool enable) = 0; 51 virtual void EnableDebugDirtyRegion(bool enable) = 0;
60 }; 52 };
61 53
62 } // namespace remoting 54 } // namespace remoting
63 55
64 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_H_ 56 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_mouse_locker.h ('k') | remoting/client/plugin/pepper_video_renderer_2d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698