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

Unified Diff: third_party/WebKit/Source/modules/vr/VRDisplayEvent.idl

Issue 2747373002: Update WebVR API based on prerelease 1.1 except window and navigator interface (Closed)
Patch Set: Update wpt test Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/vr/VRDisplayEvent.idl
diff --git a/third_party/WebKit/Source/modules/vr/VRDisplayEvent.idl b/third_party/WebKit/Source/modules/vr/VRDisplayEvent.idl
index 31dcb48823d9afa4e6b02caa3378e27ade30fd5d..67babaaf49215e3e5b5a13725a897c806c1fb6ad 100644
--- a/third_party/WebKit/Source/modules/vr/VRDisplayEvent.idl
+++ b/third_party/WebKit/Source/modules/vr/VRDisplayEvent.idl
@@ -3,18 +3,16 @@
// found in the LICENSE file.
enum VRDisplayEventReason {
- "connected",
- "disconnected",
- "navigation",
"mounted",
+ "navigation",
"unmounted"
};
// https://w3c.github.io/webvr/#interface-vrdisplayevent
[
OriginTrialEnabled=WebVR,
- Constructor(DOMString type, optional VRDisplayEventInit eventInitDict),
+ Constructor(DOMString type, VRDisplayEventInit eventInitDict),
] interface VRDisplayEvent : Event {
readonly attribute VRDisplay display;
- readonly attribute VRDisplayEventReason reason;
+ readonly attribute VRDisplayEventReason? reason;
};
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRDisplay.idl ('k') | third_party/WebKit/Source/modules/vr/VRDisplayEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698