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

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

Issue 9663027: Remove generated directories with 100s of files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 class _GeolocationWrappingImplementation extends DOMWrapperBase implements Geolo cation {
8 _GeolocationWrappingImplementation() : super() {}
9
10 static create__GeolocationWrappingImplementation() native {
11 return new _GeolocationWrappingImplementation();
12 }
13
14 void clearWatch(int watchId) {
15 _clearWatch(this, watchId);
16 return;
17 }
18 static void _clearWatch(receiver, watchId) native;
19
20 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback = null]) {
21 if (errorCallback === null) {
22 _getCurrentPosition(this, successCallback);
23 return;
24 } else {
25 _getCurrentPosition_2(this, successCallback, errorCallback);
26 return;
27 }
28 }
29 static void _getCurrentPosition(receiver, successCallback) native;
30 static void _getCurrentPosition_2(receiver, successCallback, errorCallback) na tive;
31
32 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback = null]) {
33 if (errorCallback === null) {
34 return _watchPosition(this, successCallback);
35 } else {
36 return _watchPosition_2(this, successCallback, errorCallback);
37 }
38 }
39 static int _watchPosition(receiver, successCallback) native;
40 static int _watchPosition_2(receiver, successCallback, errorCallback) native;
41
42 String get typeName() { return "Geolocation"; }
43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698