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

Side by Side Diff: client/html/generated/html/dartium/Navigator.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (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
2 class _NavigatorImpl extends _DOMTypeBase implements Navigator {
3 _NavigatorImpl._wrap(ptr) : super._wrap(ptr);
4
5 String get appCodeName() => _wrap(_ptr.appCodeName);
6
7 String get appName() => _wrap(_ptr.appName);
8
9 String get appVersion() => _wrap(_ptr.appVersion);
10
11 bool get cookieEnabled() => _wrap(_ptr.cookieEnabled);
12
13 Geolocation get geolocation() => _wrap(_ptr.geolocation);
14
15 String get language() => _wrap(_ptr.language);
16
17 DOMMimeTypeArray get mimeTypes() => _wrap(_ptr.mimeTypes);
18
19 bool get onLine() => _wrap(_ptr.onLine);
20
21 String get platform() => _wrap(_ptr.platform);
22
23 DOMPluginArray get plugins() => _wrap(_ptr.plugins);
24
25 String get product() => _wrap(_ptr.product);
26
27 String get productSub() => _wrap(_ptr.productSub);
28
29 String get userAgent() => _wrap(_ptr.userAgent);
30
31 String get vendor() => _wrap(_ptr.vendor);
32
33 String get vendorSub() => _wrap(_ptr.vendorSub);
34
35 void getStorageUpdates() {
36 _ptr.getStorageUpdates();
37 return;
38 }
39
40 bool javaEnabled() {
41 return _wrap(_ptr.javaEnabled());
42 }
43
44 void registerProtocolHandler(String scheme, String url, String title) {
45 _ptr.registerProtocolHandler(_unwrap(scheme), _unwrap(url), _unwrap(title));
46 return;
47 }
48
49 void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback succ essCallback, [NavigatorUserMediaErrorCallback errorCallback = null]) {
50 if (errorCallback === null) {
51 _ptr.webkitGetUserMedia(_unwrap(options), _unwrap(successCallback));
52 return;
53 } else {
54 _ptr.webkitGetUserMedia(_unwrap(options), _unwrap(successCallback), _unwra p(errorCallback));
55 return;
56 }
57 }
58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698