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

Side by Side Diff: third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h

Issue 2480003002: [RemotePlayback] Keep track of source compatibility and reject prompt() correspondingly (Closed)
Patch Set: Rebased 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 unified diff | Download patch
OLDNEW
(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 WebRemotePlaybackAvailability_h
6 #define WebRemotePlaybackAvailability_h
7
8 namespace blink {
9
10 // Various states for the remote playback availability.
11 enum class WebRemotePlaybackAvailability {
12 // The availability is unknown.
13 Unknown,
14
15 // The media source is not supported by the browser - device availability
16 // monitoring is unnecessary.
17 SourceNotSupported,
18
19 // The media source is compatible with some supported device types but
20 // no devices were found.
21 DeviceNotAvailable,
22
23 // There're available devices but the current media source is not compatible
24 // with any of those.
25 SourceNotCompatible,
26
27 // There're available remote playback devices and the media source is
28 // compatible with at least one of them.
29 DeviceAvailable
30 };
31
32 } // namespace blink
33
34 #endif // WebRemotePlaybackState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698