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

Issue 10073016: Upstream WebMediaPlayerAndroid as WebKit::WebMediaPlayer implementation on android. (Closed)

Created:
8 years, 8 months ago by qinmin
Modified:
8 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Upstream WebMediaPlayerAndroid as WebKit::WebMediaPlayer implementation on android. I've seperated the WebMediaPlayerAndroid into several changes so that each change will be easier to understand. This is the first change in the series. It implements the basic functionalities needed for WebMediaPlayer on android. Here are the things that are missing and will be addressed in future changes: 1. Only audio is working after this change (for video, you can only hear audio now). Video will be in the next change. 2. Fullscreen implementation is missing in this change, it will come after the video change. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133971

Patch Set 1 #

Total comments: 95

Patch Set 2 : addressing feedbacks #

Total comments: 20

Patch Set 3 : addressing feedbacks #

Total comments: 8

Patch Set 4 : small changes to address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+885 lines, -20 lines) Patch
A webkit/media/android/webmediaplayer_android.h View 1 2 1 chunk +200 lines, -0 lines 0 comments Download
A webkit/media/android/webmediaplayer_android.cc View 1 2 3 1 chunk +486 lines, -0 lines 0 comments Download
A webkit/media/android/webmediaplayer_proxy_android.h View 1 1 chunk +74 lines, -0 lines 0 comments Download
A webkit/media/android/webmediaplayer_proxy_android.cc View 1 2 3 1 chunk +64 lines, -0 lines 0 comments Download
M webkit/media/webkit_media.gypi View 1 2 3 chunks +14 lines, -1 line 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 2 chunks +1 line, -19 lines 0 comments Download
A webkit/media/webmediaplayer_util.h View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A webkit/media/webmediaplayer_util.cc View 1 2 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
qinmin
This is the the first change for WebMediaPlayer implementation on android.
8 years, 8 months ago (2012-04-13 18:49:17 UTC) #1
scherkus (not reviewing)
http://codereview.chromium.org/10073016/diff/1/webkit/media/android/webmediaplayer_android.cc File webkit/media/android/webmediaplayer_android.cc (right): http://codereview.chromium.org/10073016/diff/1/webkit/media/android/webmediaplayer_android.cc#newcode43 webkit/media/android/webmediaplayer_android.cc:43: base::TimeDelta ConvertSecondsToTimestamp(float seconds) { this code is duplicated http://codereview.chromium.org/10073016/diff/1/webkit/media/android/webmediaplayer_android.cc#newcode68 ...
8 years, 8 months ago (2012-04-17 03:57:31 UTC) #2
qinmin
For android, the mediaplayer could get released under many circumstances (switching tabs, when found idle, ...
8 years, 8 months ago (2012-04-18 20:06:30 UTC) #3
scherkus (not reviewing)
http://codereview.chromium.org/10073016/diff/1/webkit/media/android/webmediaplayer_android.cc File webkit/media/android/webmediaplayer_android.cc (right): http://codereview.chromium.org/10073016/diff/1/webkit/media/android/webmediaplayer_android.cc#newcode100 webkit/media/android/webmediaplayer_android.cc:100: incognito_mode_ = incognito_mode; On 2012/04/18 20:06:30, qinmin wrote: > ...
8 years, 8 months ago (2012-04-21 03:02:05 UTC) #4
qinmin
http://codereview.chromium.org/10073016/diff/7001/webkit/media/android/webmediaplayer_android.cc File webkit/media/android/webmediaplayer_android.cc (right): http://codereview.chromium.org/10073016/diff/7001/webkit/media/android/webmediaplayer_android.cc#newcode75 webkit/media/android/webmediaplayer_android.cc:75: // Calling InitializeMediaPlayer will cause android mediaplayer to start ...
8 years, 8 months ago (2012-04-23 18:57:03 UTC) #5
Ami GONE FROM CHROMIUM
Removing myself from reviewers since scherkus has it. (let me know if you want me ...
8 years, 8 months ago (2012-04-24 23:33:47 UTC) #6
scherkus (not reviewing)
LGTM w/ nits thanks! http://codereview.chromium.org/10073016/diff/17001/webkit/media/android/webmediaplayer_android.cc File webkit/media/android/webmediaplayer_android.cc (right): http://codereview.chromium.org/10073016/diff/17001/webkit/media/android/webmediaplayer_android.cc#newcode45 webkit/media/android/webmediaplayer_android.cc:45: const float kTemporaryDuration = 100.0f; ...
8 years, 8 months ago (2012-04-25 03:28:37 UTC) #7
qinmin
http://codereview.chromium.org/10073016/diff/17001/webkit/media/android/webmediaplayer_android.cc File webkit/media/android/webmediaplayer_android.cc (right): http://codereview.chromium.org/10073016/diff/17001/webkit/media/android/webmediaplayer_android.cc#newcode45 webkit/media/android/webmediaplayer_android.cc:45: const float kTemporaryDuration = 100.0f; On 2012/04/25 03:28:37, scherkus ...
8 years, 8 months ago (2012-04-25 18:53:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/10073016/27001
8 years, 8 months ago (2012-04-25 19:09:19 UTC) #9
commit-bot: I haz the power
8 years, 8 months ago (2012-04-25 20:33:16 UTC) #10
Change committed as 133971

Powered by Google App Engine
This is Rietveld 408576698