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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 750093002: Fixed pointerlock* getters (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/htmleventgenerator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 168a4c73c28305726222f2f1856b38c1d42deeee..601400bee07e91a822e47db397c928087399ee01 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -8439,6 +8439,16 @@ class Document extends Node
// To suppress missing implicit constructor warnings.
factory Document._() { throw new UnsupportedError("Not supported"); }
+ @DomName('Document.pointerlockchangeEvent')
+ @DocsEditable()
+ @Experimental() // untriaged
+ static const EventStreamProvider<Event> pointerLockChangeEvent = const EventStreamProvider<Event>('pointerlockchange');
+
+ @DomName('Document.pointerlockerrorEvent')
+ @DocsEditable()
+ @Experimental() // untriaged
+ static const EventStreamProvider<Event> pointerLockErrorEvent = const EventStreamProvider<Event>('pointerlockerror');
+
/**
* Static factory designed to expose `readystatechange` events to event
* handlers that are not necessarily instances of [Document].
@@ -9033,6 +9043,16 @@ class Document extends Node
@Experimental() // untriaged
Stream<Event> get onPlaying => Element.playingEvent.forTarget(this);
+ @DomName('Document.onpointerlockchange')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Stream<Event> get onPointerLockChange => pointerLockChangeEvent.forTarget(this);
+
+ @DomName('Document.onpointerlockerror')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Stream<Event> get onPointerLockError => pointerLockErrorEvent.forTarget(this);
+
@DomName('Document.onratechange')
@DocsEditable()
@Experimental() // untriaged
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/htmleventgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698