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

Unified Diff: sdk/lib/web_audio/dartium/web_audio_dartium.dart

Issue 1392723003: Switch dart:html objects not to be NativeFieldWrapper subclasses with JsInterop (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_audio/dartium/web_audio_dartium.dart
diff --git a/sdk/lib/web_audio/dartium/web_audio_dartium.dart b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
index 00f927dde52dd53407d91b875c257e2cc60073fc..3f04c444491840f9891245cbccb8a20811813fd3 100644
--- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
+++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
@@ -173,7 +173,7 @@ class AnalyserNode extends AudioNode {
@DomName('AudioBuffer')
// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBuffer-section
@Experimental()
-class AudioBuffer extends NativeFieldWrapperClass2 {
+class AudioBuffer extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory AudioBuffer._() { throw new UnsupportedError("Not supported"); }
@@ -181,8 +181,6 @@ class AudioBuffer extends NativeFieldWrapperClass2 {
return new AudioBuffer._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory AudioBuffer._internalWrap() {
return new AudioBuffer.internal_();
}
@@ -556,7 +554,7 @@ class AudioDestinationNode extends AudioNode {
@DomName('AudioListener')
// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioListener-section
@Experimental()
-class AudioListener extends NativeFieldWrapperClass2 {
+class AudioListener extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory AudioListener._() { throw new UnsupportedError("Not supported"); }
@@ -564,8 +562,6 @@ class AudioListener extends NativeFieldWrapperClass2 {
return new AudioListener._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory AudioListener._internalWrap() {
return new AudioListener.internal_();
}
@@ -699,7 +695,7 @@ class AudioNode extends EventTarget {
@DomName('AudioParam')
// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioParam
@Experimental()
-class AudioParam extends NativeFieldWrapperClass2 {
+class AudioParam extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory AudioParam._() { throw new UnsupportedError("Not supported"); }
@@ -707,8 +703,6 @@ class AudioParam extends NativeFieldWrapperClass2 {
return new AudioParam._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory AudioParam._internalWrap() {
return new AudioParam.internal_();
}
@@ -1465,7 +1459,7 @@ class PannerNode extends AudioNode {
@DocsEditable()
@DomName('PeriodicWave')
@Experimental() // untriaged
-class PeriodicWave extends NativeFieldWrapperClass2 {
+class PeriodicWave extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory PeriodicWave._() { throw new UnsupportedError("Not supported"); }
@@ -1473,8 +1467,6 @@ class PeriodicWave extends NativeFieldWrapperClass2 {
return new PeriodicWave._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory PeriodicWave._internalWrap() {
return new PeriodicWave.internal_();
}
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698