Chromium Code Reviews| Index: media/remoting/remoting_interstitial_ui.h |
| diff --git a/media/remoting/remoting_interstitial_ui.h b/media/remoting/remoting_interstitial_ui.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7a54d1cf615f25aa859edc45a9ac86cb550746bc |
| --- /dev/null |
| +++ b/media/remoting/remoting_interstitial_ui.h |
| @@ -0,0 +1,23 @@ |
| +// 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 MEDIA_REMOTING_REMOTING_INTERSTITIAL_UI_H_ |
| +#define MEDIA_REMOTING_REMOTING_INTERSTITIAL_UI_H_ |
| + |
| +#include "base/memory/ref_counted.h" |
| +#include "media/base/video_frame.h" |
| +#include "third_party/skia/include/core/SkCanvas.h" |
| +#include "ui/gfx/geometry/size.h" |
| + |
| +namespace media { |
| + |
| +// Gets an 'interstitial' VideoFrame to paint on the media player when the |
| +// video is being played remotely. |
| +scoped_refptr<VideoFrame> GetInterstitial(gfx::Size canvas_size, |
| + SkCanvas* existing_frame_canvas, |
| + bool isRemotingSuccessful); |
|
miu
2016/11/04 22:02:30
c++ style: is_remoting_successful
apacible
2016/11/05 01:12:52
Done.
|
| + |
| +} // namespace media |
| + |
| +#endif // MEDIA_REMOTING_REMOTING_INTERSTITIAL_UI_H_ |