Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Unified Diff: media/remoting/remoting_interstitial_ui.h

Issue 2474803002: [Media Remoting] Add function to create interstitial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/remoting/BUILD.gn ('k') | media/remoting/remoting_interstitial_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c5d44d0509f5d3cf420cbf2e5a8a16240efef5ad
--- /dev/null
+++ b/media/remoting/remoting_interstitial_ui.h
@@ -0,0 +1,21 @@
+// 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"
+
+namespace media {
+
+// Gets an 'interstitial' VideoFrame to paint on the media player when the
+// video is being played remotely.
+scoped_refptr<VideoFrame> GetInterstitial(SkCanvas* existing_frame_canvas,
+ bool is_remoting_successful);
+
+} // namespace media
+
+#endif // MEDIA_REMOTING_REMOTING_INTERSTITIAL_UI_H_
« no previous file with comments | « media/remoting/BUILD.gn ('k') | media/remoting/remoting_interstitial_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698