| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MEDIA_REMOTING_REMOTING_INTERSTITIAL_UI_H_ |
| 6 #define MEDIA_REMOTING_REMOTING_INTERSTITIAL_UI_H_ |
| 7 |
| 8 #include "base/memory/ref_counted.h" |
| 9 #include "media/base/video_frame.h" |
| 10 #include "third_party/skia/include/core/SkCanvas.h" |
| 11 #include "ui/gfx/geometry/size.h" |
| 12 |
| 13 namespace media { |
| 14 |
| 15 // Gets an 'interstitial' VideoFrame to paint on the media player when the |
| 16 // video is being played remotely. |
| 17 scoped_refptr<VideoFrame> GetInterstitial(gfx::Size canvas_size, |
| 18 SkCanvas* existing_frame_canvas, |
| 19 bool isRemotingSuccessful); |
| 20 |
| 21 } // namespace media |
| 22 |
| 23 #endif // MEDIA_REMOTING_REMOTING_INTERSTITIAL_UI_H_ |
| OLD | NEW |