Chromium Code Reviews| Index: media/base/media_content_type.h |
| diff --git a/media/base/media_content_type.h b/media/base/media_content_type.h |
| index e1b3943ba3d08d4ddd4c7c1cbadde8727bdbd42c..52748e67f62cd4fee8892432851f3583e9fe8d8d 100644 |
| --- a/media/base/media_content_type.h |
| +++ b/media/base/media_content_type.h |
| @@ -21,9 +21,10 @@ enum class MediaContentType { |
| // Type indicating that a player is a Pepper instance. MediaSession may duck |
| // the player instead of pausing it. |
| Pepper, |
| - // Type indicating that a player cannot be controlled. MediaSession wil ignore |
| - // this player. |
| - Uncontrollable |
| + // Type indicating that a player cannot be controlled. MediaSession will take |
| + // audio focus when the player joins but will not let it respond to audio |
| + // focus changes. |
| + OneShot, |
|
dcheng
2016/11/08 06:59:38
Nit: Add Max = Oneshot
Zhiqiang Zhang (Slow)
2016/11/10 15:07:18
Done.
|
| }; |
| // Utility function for deciding the MediaContentType of a player based on its |