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

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

Issue 9359034: A bunch of fixes in idl database generator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Generated files. Created 8 years, 10 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/_NavigatorWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart b/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart
index bfd30b0ef85cd06923d92a56ad45227bdb919308..11732ef0bf709154257dd7841572217633bc8785 100644
--- a/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart
@@ -73,5 +73,17 @@ class _NavigatorWrappingImplementation extends DOMWrapperBase implements Navigat
}
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