| // Copyright 2016 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef REMOTING_TEST_FRAME_GENERATOR_UTIL_H_ |
| #define REMOTING_TEST_FRAME_GENERATOR_UTIL_H_ |
| #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
| // Loads test image from remoting/test/data. |
| std::unique_ptr<webrtc::DesktopFrame> LoadDesktopFrameFromPng(const char* name); |
| // Draws rectangle filled with the given |color|. |
| void DrawRect(webrtc::DesktopFrame* frame, |
| webrtc::DesktopRect rect, |
| #endif // REMOTING_TEST_FRAME_GENERATOR_UTIL_H_ |