| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 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 WEBKIT_MEDIA_ANDROID_MEDIA_METADATA_ANDROID_H_ | |
| 6 #define WEBKIT_MEDIA_ANDROID_MEDIA_METADATA_ANDROID_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/time.h" | |
| 10 | |
| 11 namespace webkit_media { | |
| 12 | |
| 13 // Provides the initial media metadata to ContentVideoView. | |
| 14 struct MediaMetadataAndroid { | |
| 15 MediaMetadataAndroid(); | |
| 16 MediaMetadataAndroid(int w, | |
| 17 int h, | |
| 18 base::TimeDelta d, | |
| 19 base::TimeDelta ct, | |
| 20 bool p, | |
| 21 bool cp, | |
| 22 bool csf, | |
| 23 bool csb); | |
| 24 ~MediaMetadataAndroid(); | |
| 25 | |
| 26 int width; | |
| 27 int height; | |
| 28 base::TimeDelta duration; | |
| 29 base::TimeDelta current_time; | |
| 30 bool paused; | |
| 31 bool can_pause; | |
| 32 bool can_seek_forward; | |
| 33 bool can_seek_backward; | |
| 34 }; | |
| 35 | |
| 36 } // namespace webkit_media | |
| 37 | |
| 38 #endif // WEBKIT_MEDIA_ANDROID_MEDIA_METADATA_ANDROID_H_ | |
| OLD | NEW |