#509 disable remote playback api
This commit is contained in:
@@ -7,8 +7,10 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||||
---
|
||||
chrome/browser/media/router/media_router_feature.cc | 6 +++++-
|
||||
chrome/browser/profiles/profile_impl.cc | 2 +-
|
||||
content/child/runtime_features.cc | 2 ++
|
||||
.../renderer/modules/remoteplayback/remote_playback.cc | 2 +-
|
||||
3 files changed, 7 insertions(+), 3 deletions(-)
|
||||
.../blink/renderer/platform/runtime_enabled_features.json5 | 4 ++--
|
||||
5 files changed, 11 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/chrome/browser/media/router/media_router_feature.cc b/chrome/browser/media/router/media_router_feature.cc
|
||||
--- a/chrome/browser/media/router/media_router_feature.cc
|
||||
@@ -50,6 +52,18 @@ diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/p
|
||||
#if !BUILDFLAG(IS_ANDROID)
|
||||
registry->RegisterBooleanPref(prefs::kShowCastIconInToolbar, false);
|
||||
#endif // !BUILDFLAG(IS_ANDROID)
|
||||
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
|
||||
--- a/content/child/runtime_features.cc
|
||||
+++ b/content/child/runtime_features.cc
|
||||
@@ -587,6 +587,8 @@ void SetCustomizedRuntimeFeaturesFromCombinedArgs(
|
||||
WebRuntimeFeatures::EnableBackForwardCache(
|
||||
content::IsBackForwardCacheEnabled());
|
||||
|
||||
+ WebRuntimeFeatures::EnableRemotePlayback(false);
|
||||
+
|
||||
if (base::FeatureList::IsEnabled(network::features::kPrivateStateTokens)) {
|
||||
WebRuntimeFeatures::EnablePrivateStateTokens(true);
|
||||
WebRuntimeFeatures::EnablePrivateStateTokensAlwaysAllowIssuance(true);
|
||||
diff --git a/third_party/blink/renderer/modules/remoteplayback/remote_playback.cc b/third_party/blink/renderer/modules/remoteplayback/remote_playback.cc
|
||||
--- a/third_party/blink/renderer/modules/remoteplayback/remote_playback.cc
|
||||
+++ b/third_party/blink/renderer/modules/remoteplayback/remote_playback.cc
|
||||
@@ -62,5 +76,21 @@ diff --git a/third_party/blink/renderer/modules/remoteplayback/remote_playback.c
|
||||
}
|
||||
|
||||
void RemotingStarting(HTMLMediaElement& media_element) {
|
||||
diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5
|
||||
--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5
|
||||
+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5
|
||||
@@ -3218,10 +3218,10 @@
|
||||
base_feature: "none",
|
||||
},
|
||||
{
|
||||
- name: "RemotePlaybackBackend",
|
||||
+ name: "RemotePlaybackBackend", // disabled
|
||||
settable_from_internals: true,
|
||||
// Tracking bug for the implementation: https://crbug.com/728609
|
||||
- status: {"Android": "stable", "default": "experimental"},
|
||||
+ status: "experimental", // by default
|
||||
},
|
||||
{
|
||||
name: "RemoveDanglingMarkupInTarget",
|
||||
--
|
||||
2.25.1
|
||||
|
||||
Reference in New Issue
Block a user