Commit 80ab313a authored by Dylan Cutler's avatar Dylan Cutler Committed by Commit Bot

Instrument ScreenOrientation.[angle|type] for identifiability study.

Bug: 973801
Change-Id: I37abe1065f80f4c2d7aca88f09dfd0ebb85cfa8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2352512Reviewed-by: default avatarAsanka Herath <asanka@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Dylan Cutler <dylancutler@google.com>
Cr-Commit-Position: refs/heads/master@{#799735}
parent e8c4e1ac
......@@ -24,8 +24,8 @@ enum OrientationType {
[Exposed=Window]
interface ScreenOrientation : EventTarget {
[MeasureAs=ScreenOrientationAngle] readonly attribute unsigned short angle;
[MeasureAs=ScreenOrientationType] readonly attribute DOMString type;
[HighEntropy=Direct, MeasureAs=ScreenOrientationAngle] readonly attribute unsigned short angle;
[HighEntropy=Direct, MeasureAs=ScreenOrientationType] readonly attribute DOMString type;
[CallWith=ScriptState, MeasureAs=ScreenOrientationLock, RaisesException] Promise<void> lock(OrientationLockType orientation);
[MeasureAs=ScreenOrientationUnlock] void unlock();
......
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