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

Issue 2613133003: Disable MediaSession API for WebView (Closed)

Created:
3 years, 11 months ago by Zhiqiang Zhang (Slow)
Modified:
3 years, 11 months ago
CC:
android-webview-reviews_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable MediaSession API for WebView Currently there is no UI for media metadata and controls on WebView. Therefore we should disable the API on WebView. It is reasonable to let the host app show the UI itself on WebView. The API intent to ship is still pending approval so it's not enabled on any platform by default yet. After getting approved, the next step is to just enable the API on Android and WebView will be excluded because of this CL. Intent to ship (pending approval): https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/xIpJ_303phw BUG=678979 Review-Url: https://codereview.chromium.org/2613133003 Cr-Commit-Position: refs/heads/master@{#442640} Committed: https://chromium.googlesource.com/chromium/src/+/30fb31340be3ffd85db42b176f997527fa92538f

Patch Set 1 #

Total comments: 2

Patch Set 2 : follow presentation API & remote playback API #

Total comments: 2

Patch Set 3 : fixed nit #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M android_webview/lib/main/aw_main_delegate.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/child/runtime_features.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebRuntimeFeatures.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebRuntimeFeatures.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
Zhiqiang Zhang (Slow)
3 years, 11 months ago (2017-01-06 20:14:19 UTC) #2
Torne
https://codereview.chromium.org/2613133003/diff/1/android_webview/lib/main/aw_main_delegate.cc File android_webview/lib/main/aw_main_delegate.cc (right): https://codereview.chromium.org/2613133003/diff/1/android_webview/lib/main/aw_main_delegate.cc#newcode117 android_webview/lib/main/aw_main_delegate.cc:117: cl->AppendSwitchASCII(switches::kDisableBlinkFeatures, "MediaSession"); I'm not too familiar with how command ...
3 years, 11 months ago (2017-01-09 11:47:06 UTC) #3
Zhiqiang Zhang (Slow)
PTAL https://codereview.chromium.org/2613133003/diff/1/android_webview/lib/main/aw_main_delegate.cc File android_webview/lib/main/aw_main_delegate.cc (right): https://codereview.chromium.org/2613133003/diff/1/android_webview/lib/main/aw_main_delegate.cc#newcode117 android_webview/lib/main/aw_main_delegate.cc:117: cl->AppendSwitchASCII(switches::kDisableBlinkFeatures, "MediaSession"); On 2017/01/09 11:47:06, Torne wrote: > ...
3 years, 11 months ago (2017-01-09 14:29:21 UTC) #4
Torne
lgtm
3 years, 11 months ago (2017-01-09 14:37:07 UTC) #5
Zhiqiang Zhang (Slow)
+jochen: content/* and third_party/WebKit/*
3 years, 11 months ago (2017-01-09 18:22:01 UTC) #7
jochen (gone - plz use gerrit)
can you send an email to blink-dev@ about disabling this API? can you also explain ...
3 years, 11 months ago (2017-01-10 09:54:51 UTC) #8
jochen (gone - plz use gerrit)
lgtm with actions taken
3 years, 11 months ago (2017-01-10 09:55:10 UTC) #10
Torne
On 2017/01/10 09:54:51, jochen wrote: > can you send an email to blink-dev@ about disabling ...
3 years, 11 months ago (2017-01-10 10:50:36 UTC) #11
mlamouri (slow - plz ping)
lgtm
3 years, 11 months ago (2017-01-10 10:56:04 UTC) #12
Zhiqiang Zhang (Slow)
On 2017/01/10 09:54:51, jochen wrote: > can you send an email to blink-dev@ about disabling ...
3 years, 11 months ago (2017-01-10 11:06:15 UTC) #14
jochen (gone - plz use gerrit)
ok, still lgtm
3 years, 11 months ago (2017-01-10 14:17:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2613133003/60001
3 years, 11 months ago (2017-01-10 17:21:15 UTC) #22
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 18:52:57 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/30fb31340be3ffd85db42b176f99...

Powered by Google App Engine
This is Rietveld 408576698