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

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: Fixed the java enum comment 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 // GENERATED_JAVA_ENUM_PACKAGE: (
11 // org.chromium.blink_public.platform.modules.remoteplayback)
12 // Various states for the remote playback availability.
13 enum class WebRemotePlaybackAvailability {
14 // The availability is unknown.
15 Unknown,
16
17 // The media source is not supported by the browser - device availability
18 // monitoring is unnecessary.
19 SourceNotSupported,
20
21 // The media source is compatible with some supported device types but
22 // no devices were found.
23 DeviceNotAvailable,
24
25 // There're available devices but the current media source is not compatible
26 // with any of those.
27 SourceNotCompatible,
28
29 // There're available remote playback devices and the media source is
30 // compatible with at least one of them.
31 DeviceAvailable,
32
33 Last = DeviceAvailable
34 };
35
36 } // namespace blink
37
38 #endif // WebRemotePlaybackState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698