| 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 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; | 11 class DesktopSize; |
| 12 class DesktopVector; | 12 class DesktopVector; |
| 13 class DesktopRegion; | 13 class DesktopRegion; |
| 14 } // namespace webrtc | 14 } // namespace webrtc |
| 15 | 15 |
| 16 namespace pp { | 16 namespace pp { |
| 17 class Instance; | 17 class Instance; |
| 18 class View; | 18 class View; |
| 19 } // namespace pp | 19 } // namespace pp |
| 20 | 20 |
| 21 namespace remoting { | 21 namespace remoting { |
| 22 | 22 |
| 23 class ClientContext; | 23 class ClientContext; |
| 24 | 24 |
| 25 namespace protocol { | 25 namespace protocol { |
| 26 class PerformanceTracker; | 26 class FrameStatsConsumer; |
| 27 } // namespace protocol | 27 } // namespace protocol |
| 28 | 28 |
| 29 // Interface for video renderers that render video in pepper plugin. | 29 // Interface for video renderers that render video in pepper plugin. |
| 30 class PepperVideoRenderer : public protocol::VideoRenderer { | 30 class PepperVideoRenderer : public protocol::VideoRenderer { |
| 31 public: | 31 public: |
| 32 class EventHandler { | 32 class EventHandler { |
| 33 public: | 33 public: |
| 34 EventHandler() {} | 34 EventHandler() {} |
| 35 virtual ~EventHandler() {} | 35 virtual ~EventHandler() {} |
| 36 | 36 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 55 virtual void OnViewChanged(const pp::View& view) = 0; | 55 virtual void OnViewChanged(const pp::View& view) = 0; |
| 56 | 56 |
| 57 // Enables or disables delivery of dirty region information to the | 57 // Enables or disables delivery of dirty region information to the |
| 58 // EventHandler, for debugging purposes. | 58 // EventHandler, for debugging purposes. |
| 59 virtual void EnableDebugDirtyRegion(bool enable) = 0; | 59 virtual void EnableDebugDirtyRegion(bool enable) = 0; |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace remoting | 62 } // namespace remoting |
| 63 | 63 |
| 64 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_H_ | 64 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_H_ |
| OLD | NEW |