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

Side by Side Diff: webkit/media/android/media_metadata_android.h

Issue 10979047: Upstream fullscreen video implementation for android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merging latest changes Created 8 years, 2 months 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « media/base/android/media_player_bridge.cc ('k') | webkit/media/android/media_metadata_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698