Commit 860703f7 authored by Joe Downing's avatar Joe Downing Committed by Commit Bot

[KeyboardLock] Removing KeyboardLock blink feature

Now that we've branched to M69 and the KeyboardLock feature is enabled
by default, we can remove the blink API feature flag.

Note: I want to keep the Chrome feature flags around a bit longer, but
will be removing them at some point in the future.

BUG=680809

Change-Id: I6dcb76a0a8e7874fd20627f9126ff48a9a0625a6
Reviewed-on: https://chromium-review.googlesource.com/1073674Reviewed-by: default avatarScott Violet <sky@chromium.org>
Reviewed-by: default avatarPhilip Jägenstedt <foolip@chromium.org>
Commit-Queue: Joe Downing <joedow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#563099}
parent 8099105e
...@@ -400,9 +400,6 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( ...@@ -400,9 +400,6 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
"FeaturePolicyForPermissions", "FeaturePolicyForPermissions",
base::FeatureList::IsEnabled(features::kUseFeaturePolicyForPermissions)); base::FeatureList::IsEnabled(features::kUseFeaturePolicyForPermissions));
if (base::FeatureList::IsEnabled(features::kKeyboardLockAPI))
WebRuntimeFeatures::EnableFeatureFromString("KeyboardLock", true);
if (base::FeatureList::IsEnabled(features::kLazyFrameLoading)) if (base::FeatureList::IsEnabled(features::kLazyFrameLoading))
WebRuntimeFeatures::EnableLazyFrameLoading(true); WebRuntimeFeatures::EnableLazyFrameLoading(true);
if (base::FeatureList::IsEnabled(features::kLazyFrameVisibleLoadTimeMetrics)) if (base::FeatureList::IsEnabled(features::kLazyFrameVisibleLoadTimeMetrics))
......
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// TODO(joedow): Remove RuntimeEnabled flag after the next branch point.
[ [
Exposed=Window, Exposed=Window,
RuntimeEnabled=KeyboardLock,
SecureContext SecureContext
] interface Keyboard { ] interface Keyboard {
// Keyboard Lock specification: https://w3c.github.io/keyboard-lock/ // Keyboard Lock specification: https://w3c.github.io/keyboard-lock/
......
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
[ [
ImplementedAs=NavigatorKeyboard, ImplementedAs=NavigatorKeyboard
RuntimeEnabled=KeyboardLock
] partial interface Navigator { ] partial interface Navigator {
[SameObject, SecureContext] readonly attribute Keyboard keyboard; [SameObject, SecureContext] readonly attribute Keyboard keyboard;
}; };
...@@ -625,10 +625,6 @@ ...@@ -625,10 +625,6 @@
name: "JSImageDecode", name: "JSImageDecode",
status: "stable", status: "stable",
}, },
{
name: "KeyboardLock",
status: "stable",
},
{ {
name: "KeyboardMap", name: "KeyboardMap",
status: "experimental", status: "experimental",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment