Chromium Code Reviews| 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); | |
|
miu
2016/11/04 22:02:30
c++ style: is_remoting_successful
apacible
2016/11/05 01:12:52
Done.
| |
| 20 | |
| 21 } // namespace media | |
| 22 | |
| 23 #endif // MEDIA_REMOTING_REMOTING_INTERSTITIAL_UI_H_ | |
| OLD | NEW |