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

Unified Diff: client/dom/generated/src/wrapping/_PointerLockWrappingImplementation.dart

Issue 9106002: Revert "Revert "Refresh dart:dom"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix dartc issues Created 8 years, 12 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: client/dom/generated/src/wrapping/_PointerLockWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_PointerLockWrappingImplementation.dart b/client/dom/generated/src/wrapping/_PointerLockWrappingImplementation.dart
new file mode 100644
index 0000000000000000000000000000000000000000..9b43f6f80fcbb0a80b40e21f43567ca11f7b2626
--- /dev/null
+++ b/client/dom/generated/src/wrapping/_PointerLockWrappingImplementation.dart
@@ -0,0 +1,47 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+class _PointerLockWrappingImplementation extends DOMWrapperBase implements PointerLock {
+ _PointerLockWrappingImplementation() : super() {}
+
+ static create__PointerLockWrappingImplementation() native {
+ return new _PointerLockWrappingImplementation();
+ }
+
+ bool isLocked() {
+ return _isLocked(this);
+ }
+ static bool _isLocked(receiver) native;
+
+ void lock(Element target, [VoidCallback successCallback = null, VoidCallback failureCallback = null]) {
+ if (successCallback === null) {
+ if (failureCallback === null) {
+ _lock(this, target);
+ return;
+ }
+ } else {
+ if (failureCallback === null) {
+ _lock_2(this, target, successCallback);
+ return;
+ } else {
+ _lock_3(this, target, successCallback, failureCallback);
+ return;
+ }
+ }
+ throw "Incorrect number or type of arguments";
+ }
+ static void _lock(receiver, target) native;
+ static void _lock_2(receiver, target, successCallback) native;
+ static void _lock_3(receiver, target, successCallback, failureCallback) native;
+
+ void unlock() {
+ _unlock(this);
+ return;
+ }
+ static void _unlock(receiver) native;
+
+ String get typeName() { return "PointerLock"; }
+}

Powered by Google App Engine
This is Rietveld 408576698