pbos@webrtc.org | dc8c883 | 2013-05-16 12:08:03 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license |
| 5 | * that can be found in the LICENSE file in the root of the source |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | #ifndef WEBRTC_VIDEO_ENGINE_TEST_COMMON_VIDEO_RENDERER_H_ |
| 11 | #define WEBRTC_VIDEO_ENGINE_TEST_COMMON_VIDEO_RENDERER_H_ |
| 12 | |
| 13 | #include "webrtc/video_engine/new_include/common.h" |
| 14 | |
| 15 | namespace webrtc { |
| 16 | namespace test { |
| 17 | |
| 18 | class VideoRenderer : public newapi::VideoRenderer { |
| 19 | public: |
pbos@webrtc.org | 3d6a8bf | 2013-05-23 12:20:16 +0000 | [diff] [blame] | 20 | static VideoRenderer* Create(const char* window_title, |
| 21 | size_t width, |
| 22 | size_t height); |
pbos@webrtc.org | dc8c883 | 2013-05-16 12:08:03 +0000 | [diff] [blame] | 23 | virtual ~VideoRenderer() {} |
pbos@webrtc.org | d9f9185 | 2013-05-23 12:37:11 +0000 | [diff] [blame^] | 24 | protected: |
| 25 | VideoRenderer() {} |
pbos@webrtc.org | dc8c883 | 2013-05-16 12:08:03 +0000 | [diff] [blame] | 26 | }; |
| 27 | } // test |
| 28 | } // webrtc |
| 29 | |
| 30 | #endif // WEBRTC_VIDEO_ENGINE_TEST_COMMON_VIDEO_RENDERER_H_ |