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

Side by Side Diff: client/dom/generated/src/wrapping/_PointerLockWrappingImplementation.dart

Issue 9242002: Webkit refresh. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 class _PointerLockWrappingImplementation extends DOMWrapperBase implements Point erLock { 7 class _PointerLockWrappingImplementation extends DOMWrapperBase implements Point erLock {
8 _PointerLockWrappingImplementation() : super() {} 8 _PointerLockWrappingImplementation() : super() {}
9 9
10 static create__PointerLockWrappingImplementation() native { 10 static create__PointerLockWrappingImplementation() native {
11 return new _PointerLockWrappingImplementation(); 11 return new _PointerLockWrappingImplementation();
12 } 12 }
13 13
14 bool isLocked() { 14 bool get isLocked() { return _get_isLocked(this); }
15 return _isLocked(this); 15 static bool _get_isLocked(var _this) native;
16 }
17 static bool _isLocked(receiver) native;
18 16
19 void lock(Element target, [VoidCallback successCallback = null, VoidCallback f ailureCallback = null]) { 17 void lock(Element target, [VoidCallback successCallback = null, VoidCallback f ailureCallback = null]) {
20 if (successCallback === null) { 18 if (successCallback === null) {
21 if (failureCallback === null) { 19 if (failureCallback === null) {
22 _lock(this, target); 20 _lock(this, target);
23 return; 21 return;
24 } 22 }
25 } else { 23 } else {
26 if (failureCallback === null) { 24 if (failureCallback === null) {
27 _lock_2(this, target, successCallback); 25 _lock_2(this, target, successCallback);
(...skipping 10 matching lines...) Expand all
38 static void _lock_3(receiver, target, successCallback, failureCallback) native ; 36 static void _lock_3(receiver, target, successCallback, failureCallback) native ;
39 37
40 void unlock() { 38 void unlock() {
41 _unlock(this); 39 _unlock(this);
42 return; 40 return;
43 } 41 }
44 static void _unlock(receiver) native; 42 static void _unlock(receiver) native;
45 43
46 String get typeName() { return "PointerLock"; } 44 String get typeName() { return "PointerLock"; }
47 } 45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698