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

Side by Side Diff: mojo/services/media/common/interfaces/media_state.mojom

Issue 1509323002: Mojom updates for Motown. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sync with master Created 5 years 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 2015 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 [DartPackage="mojo_services"]
6 module mojo.media;
7
8 // Expresses the overall state of a media component.
jeffbrown 2015/12/10 20:00:59 Can we eliminate some of these states? My experie
dalesat 2015/12/10 22:33:39 I'd like to keep FAULT for the time being. I have
9 enum MediaState {
10 // Unable to function due to error. Fault details are provided elsewhere.
11 FAULT,
12
13 // Intentionally disabled.
14 DISABLED,
15
16 // Requires preparation in order to function.
17 UNPREPARED,
18
19 // Preparation underway.
20 PREPARING,
21
22 // Fully prepared, rate zero (paused).
23 PREPARED,
jeffbrown 2015/12/10 20:00:59 How about calling this PAUSED?
dalesat 2015/12/10 22:33:39 Done.
24
25 // Fully prepared, rate non-zero.
26 PLAYING,
27
28 // Stopped playing because end-of-stream was encountered.
29 ENDED
30 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698