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

Unified Diff: media/base/overlay_info.cc

Issue 2892083002: Send enter / exit fullscreen signal to AVDA (Closed)
Patch Set: rebased. Created 3 years, 6 months 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/base/overlay_info.h ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/overlay_info.cc
diff --git a/media/base/overlay_info.cc b/media/base/overlay_info.cc
new file mode 100644
index 0000000000000000000000000000000000000000..1658f2a6833fc3d60adc206a1a5119e92bc42dae
--- /dev/null
+++ b/media/base/overlay_info.cc
@@ -0,0 +1,21 @@
+// Copyright 2017 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.
+
+#include "media/base/overlay_info.h"
+#include "media/base/surface_manager.h"
+
+namespace media {
+
+OverlayInfo::OverlayInfo() = default;
+OverlayInfo::OverlayInfo(const OverlayInfo&) = default;
+
+bool OverlayInfo::HasValidSurfaceId() const {
+ return surface_id != SurfaceManager::kNoSurfaceID;
+}
+
+bool OverlayInfo::HasValidRoutingToken() const {
+ return routing_token.has_value();
+}
+
+} // namespace media
« no previous file with comments | « media/base/overlay_info.h ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698