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

Issue 264893002: Enable hole-punching in Android by default. (Closed)

Created:
6 years, 7 months ago by ycheo (away)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org, bsears
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Enable hole-punching in Android by default. This CL also enables the tests for hole-punching. BUG=329447 R=boliu@chromium.org, qinmin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269464

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -8 lines) Patch
M android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java View 1 2 chunks +0 lines, -5 lines 0 comments Download
M build/common.gypi View 1 4 chunks +5 lines, -3 lines 1 comment Download

Messages

Total messages: 33 (0 generated)
ycheo (away)
6 years, 7 months ago (2014-05-01 13:59:50 UTC) #1
benm (inactive)
https://codereview.chromium.org/264893002/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java File android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java (right): https://codereview.chromium.org/264893002/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java#newcode104 android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java:104: CommandLine.getInstance().appendSwitch("force-use-overlay-embedded-video"); Is this instead of calling AwSettings.setVideoOverlayForEmbeddedVideoEnabled(true); Would it ...
6 years, 7 months ago (2014-05-01 14:17:47 UTC) #2
ycheo (away)
https://codereview.chromium.org/264893002/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java File android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java (right): https://codereview.chromium.org/264893002/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java#newcode104 android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java:104: CommandLine.getInstance().appendSwitch("force-use-overlay-embedded-video"); On 2014/05/01 14:17:47, benm wrote: > Is this ...
6 years, 7 months ago (2014-05-01 14:31:17 UTC) #3
benm (inactive)
On 2014/05/01 14:31:17, Yuncheol Heo wrote: > https://codereview.chromium.org/264893002/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java > File > android_webview/javatests/src/org/chromium/android_webview/test/ExternalVideoSurfaceContainerTest.java > (right): > ...
6 years, 7 months ago (2014-05-01 14:33:48 UTC) #4
ycheo (away)
On 2014/05/01 14:33:48, benm wrote: > On 2014/05/01 14:31:17, Yuncheol Heo wrote: > > > ...
6 years, 7 months ago (2014-05-01 14:37:52 UTC) #5
boliu
Min should know about this since this affects chrome on android as well. I don't ...
6 years, 7 months ago (2014-05-01 16:34:45 UTC) #6
qinmin
On 2014/05/01 16:34:45, boliu wrote: > Min should know about this since this affects chrome ...
6 years, 7 months ago (2014-05-01 17:07:13 UTC) #7
boliu
On 2014/05/01 17:07:13, qinmin wrote: > On 2014/05/01 16:34:45, boliu wrote: > > Min should ...
6 years, 7 months ago (2014-05-01 17:08:39 UTC) #8
ycheo (away)
On 2014/05/01 17:08:39, boliu wrote: > On 2014/05/01 17:07:13, qinmin wrote: > > On 2014/05/01 ...
6 years, 7 months ago (2014-05-01 22:47:33 UTC) #9
boliu
On 2014/05/01 22:47:33, Yuncheol Heo wrote: > The job is clearly on my task list. ...
6 years, 7 months ago (2014-05-01 22:48:58 UTC) #10
qinmin
yes, chrome should never enable hole punching, only webview can, and probably on certain platforms.
6 years, 7 months ago (2014-05-01 23:04:44 UTC) #11
ycheo (away)
Hi reviewers, The cleaning job was finished. Could you continue to review this CL? Thanks, ...
6 years, 7 months ago (2014-05-06 22:47:58 UTC) #12
boliu
Just tried this and it doesn't compile in component build (android_clang_dbg builds this configuration). You ...
6 years, 7 months ago (2014-05-07 00:08:09 UTC) #13
ycheo (away)
On 2014/05/07 00:08:09, boliu wrote: > Just tried this and it doesn't compile in component ...
6 years, 7 months ago (2014-05-07 00:35:55 UTC) #14
boliu
On 2014/05/07 00:35:55, Yuncheol Heo wrote: > On 2014/05/07 00:08:09, boliu wrote: > > Just ...
6 years, 7 months ago (2014-05-07 00:37:52 UTC) #15
ycheo (away)
On 2014/05/07 00:37:52, boliu wrote: > On 2014/05/07 00:35:55, Yuncheol Heo wrote: > > On ...
6 years, 7 months ago (2014-05-07 00:40:51 UTC) #16
ycheo (away)
On 2014/05/07 00:40:51, Yuncheol Heo wrote: > On 2014/05/07 00:37:52, boliu wrote: > > On ...
6 years, 7 months ago (2014-05-07 13:00:24 UTC) #17
ycheo (away)
On 2014/05/07 13:00:24, Yuncheol Heo wrote: > On 2014/05/07 00:40:51, Yuncheol Heo wrote: > > ...
6 years, 7 months ago (2014-05-07 22:21:39 UTC) #18
boliu
On 2014/05/07 22:21:39, Yuncheol Heo wrote: > Oh, the trybot message says there is another ...
6 years, 7 months ago (2014-05-07 22:24:52 UTC) #19
ycheo (away)
Thanks for the info. On May 8, 2014 7:24 AM, <boliu@chromium.org> wrote: > On 2014/05/07 ...
6 years, 7 months ago (2014-05-07 22:27:16 UTC) #20
boliu
Btw I mentioned the fix for component build in #13 already. I didn't have time ...
6 years, 7 months ago (2014-05-08 01:00:30 UTC) #21
ycheo (away)
On 2014/05/08 01:00:30, boliu wrote: > Btw I mentioned the fix for component build in ...
6 years, 7 months ago (2014-05-09 00:25:20 UTC) #22
boliu
I'm doing another round of manual testing. But Min should sign off on this too.
6 years, 7 months ago (2014-05-09 01:04:44 UTC) #23
boliu
lgtm from me wait for min though
6 years, 7 months ago (2014-05-09 01:13:08 UTC) #24
qinmin
lgtm, please fix the try bot warning
6 years, 7 months ago (2014-05-09 01:14:11 UTC) #25
ycheo (away)
The CQ bit was checked by ycheo@chromium.org
6 years, 7 months ago (2014-05-09 10:17:13 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ycheo@chromium.org/264893002/20001
6 years, 7 months ago (2014-05-09 10:24:04 UTC) #27
ycheo (away)
Committed patchset #2 manually as r269464 (presubmit successful).
6 years, 7 months ago (2014-05-09 23:18:36 UTC) #28
darin (slow to review)
https://codereview.chromium.org/264893002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/264893002/diff/20001/build/common.gypi#newcode682 build/common.gypi:682: 'video_hole%': 1, I thought this was going to be ...
6 years, 7 months ago (2014-05-10 00:12:26 UTC) #29
boliu
On 2014/05/10 00:12:26, darin wrote: > https://codereview.chromium.org/264893002/diff/20001/build/common.gypi > File build/common.gypi (right): > > https://codereview.chromium.org/264893002/diff/20001/build/common.gypi#newcode682 > ...
6 years, 7 months ago (2014-05-10 00:19:02 UTC) #30
ycheo (away)
On 2014/05/10 00:19:02, boliu wrote: > On 2014/05/10 00:12:26, darin wrote: > > https://codereview.chromium.org/264893002/diff/20001/build/common.gypi > ...
6 years, 7 months ago (2014-05-10 00:20:51 UTC) #31
ycheo (away)
On 2014/05/10 00:20:51, Yuncheol Heo wrote: > On 2014/05/10 00:19:02, boliu wrote: > > On ...
6 years, 7 months ago (2014-05-10 00:23:11 UTC) #32
darin (slow to review)
6 years, 7 months ago (2014-05-10 03:13:04 UTC) #33
OK, thanks for the details!
-Darin


On Fri, May 9, 2014 at 5:23 PM, <ycheo@chromium.org> wrote:

> On 2014/05/10 00:20:51, Yuncheol Heo wrote:
>
>> On 2014/05/10 00:19:02, boliu wrote:
>> > On 2014/05/10 00:12:26, darin wrote:
>> > > https://codereview.chromium.org/264893002/diff/20001/
>> build/common.gypi
>> > > File build/common.gypi (right):
>> > >
>> > >
>> >
>>
>
> https://codereview.chromium.org/264893002/diff/20001/
> build/common.gypi#newcode682
>
>> > > build/common.gypi:682: 'video_hole%': 1,
>> > > I thought this was going to be enabled for only the WebView and not
>> Chrome
>> as
>> > > well. What's the story?
>> >
>> > There is a run-time toggle that remains false on chrome on android.
>> >
>> > The reason is in upstream chromium, webview is part of the regular
>> android
>> > build. So to write an end-to-end upstream, we have to define VIDEO_HOLE.
>>
>
>  When I made the test for the hole-punching, I realized that there is no
>> trybot
>> only for the WebView.
>> So I asked it to the WebView team.  and the WebView team said that it is
>> supposed to enable in the whole Android and Bart confirmed it.
>>
> The difference between WebView and Chrome for Android is whether to have
> an api
> to enable the feature.
>
>
> https://codereview.chromium.org/264893002/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698