Commit 9b50996d authored by Caleb Raitto's avatar Caleb Raitto Committed by Commit Bot

Instrument direct surfaces of Gamepad.

Bug: 973801
Change-Id: Ie07f6fc6e2f86bcfc1c81ec49335cc3bcbf19c5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363850
Commit-Queue: Caleb Raitto <caraitto@chromium.org>
Reviewed-by: default avatarBrandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800168}
parent 6c977f87
...@@ -2760,6 +2760,7 @@ enum WebFeature { ...@@ -2760,6 +2760,7 @@ enum WebFeature {
kBluetoothAdvertisingEventAppearance = 3431, kBluetoothAdvertisingEventAppearance = 3431,
kBluetoothAdvertisingEventTxPower = 3432, kBluetoothAdvertisingEventTxPower = 3432,
kCrossOriginOpenerPolicyReporting= 3433, kCrossOriginOpenerPolicyReporting= 3433,
kGamepadId = 3434,
// Add new features immediately above this line. Don't change assigned // Add new features immediately above this line. Don't change assigned
// numbers of any item, and don't reuse removed slots. // numbers of any item, and don't reuse removed slots.
......
...@@ -36,7 +36,7 @@ enum GamepadMappingType { ...@@ -36,7 +36,7 @@ enum GamepadMappingType {
[ [
Exposed=Window Exposed=Window
] interface Gamepad { ] interface Gamepad {
readonly attribute DOMString id; [HighEntropy=Direct, MeasureAs=GamepadId] readonly attribute DOMString id;
readonly attribute long index; readonly attribute long index;
readonly attribute boolean connected; readonly attribute boolean connected;
readonly attribute DOMHighResTimeStamp timestamp; readonly attribute DOMHighResTimeStamp timestamp;
......
...@@ -28865,6 +28865,7 @@ Called by update_use_counter_feature_enum.py.--> ...@@ -28865,6 +28865,7 @@ Called by update_use_counter_feature_enum.py.-->
<int value="3431" label="BluetoothAdvertisingEventAppearance"/> <int value="3431" label="BluetoothAdvertisingEventAppearance"/>
<int value="3432" label="BluetoothAdvertisingEventTxPower"/> <int value="3432" label="BluetoothAdvertisingEventTxPower"/>
<int value="3433" label="CrossOriginOpenerPolicyReporting"/> <int value="3433" label="CrossOriginOpenerPolicyReporting"/>
<int value="3434" label="GamepadId"/>
</enum> </enum>
<enum name="FeaturePolicyAllowlistType"> <enum name="FeaturePolicyAllowlistType">
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