| 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 |
| 12 namespace media { |
| 13 |
| 14 // Gets an 'interstitial' VideoFrame to paint on the media player when the |
| 15 // video is being played remotely. |
| 16 scoped_refptr<VideoFrame> GetInterstitial(SkCanvas* existing_frame_canvas, |
| 17 bool is_remoting_successful); |
| 18 |
| 19 } // namespace media |
| 20 |
| 21 #endif // MEDIA_REMOTING_REMOTING_INTERSTITIAL_UI_H_ |
| OLD | NEW |