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

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

Issue 8895013: Add enables consistent with Chrome's WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Alpha the ENABLEs Created 9 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:
View side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart b/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart
index 8126693556cb6d230b866541d71d0afc09f3de09..11732ef0bf709154257dd7841572217633bc8785 100644
--- a/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart
@@ -23,6 +23,9 @@ class _NavigatorWrappingImplementation extends DOMWrapperBase implements Navigat
bool get cookieEnabled() { return _get_cookieEnabled(this); }
static bool _get_cookieEnabled(var _this) native;
+ Geolocation get geolocation() { return _get_geolocation(this); }
+ static Geolocation _get_geolocation(var _this) native;
+
String get language() { return _get_language(this); }
static String _get_language(var _this) native;
@@ -64,5 +67,23 @@ class _NavigatorWrappingImplementation extends DOMWrapperBase implements Navigat
}
static bool _javaEnabled(receiver) native;
+ void registerProtocolHandler(String scheme, String url, String title) {
+ _registerProtocolHandler(this, scheme, url, title);
+ return;
+ }
+ static void _registerProtocolHandler(receiver, scheme, url, title) native;
+
+ void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback = null]) {
+ if (errorCallback === null) {
+ _webkitGetUserMedia(this, options, successCallback);
+ return;
+ } else {
+ _webkitGetUserMedia_2(this, options, successCallback, errorCallback);
+ return;
+ }
+ }
+ static void _webkitGetUserMedia(receiver, options, successCallback) native;
+ static void _webkitGetUserMedia_2(receiver, options, successCallback, errorCallback) native;
+
String get typeName() { return "Navigator"; }
}

Powered by Google App Engine
This is Rietveld 408576698