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

Side by Side Diff: client/dom/frog/dom_frog.dart

Issue 9346008: Remove vestigial constructors in Frog implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | client/dom/generated/src/frog/AudioContext.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void noteOn(num when) native; 89 void noteOn(num when) native;
90 } 90 }
91 91
92 class _AudioChannelMergerJs extends _AudioNodeJs implements AudioChannelMerger n ative "*AudioChannelMerger" { 92 class _AudioChannelMergerJs extends _AudioNodeJs implements AudioChannelMerger n ative "*AudioChannelMerger" {
93 } 93 }
94 94
95 class _AudioChannelSplitterJs extends _AudioNodeJs implements AudioChannelSplitt er native "*AudioChannelSplitter" { 95 class _AudioChannelSplitterJs extends _AudioNodeJs implements AudioChannelSplitt er native "*AudioChannelSplitter" {
96 } 96 }
97 97
98 class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC ontext" { 98 class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC ontext" {
99 AudioContext() native;
100
101 99
102 final num currentTime; 100 final num currentTime;
103 101
104 final _AudioDestinationNodeJs destination; 102 final _AudioDestinationNodeJs destination;
105 103
106 final _AudioListenerJs listener; 104 final _AudioListenerJs listener;
107 105
108 EventListener oncomplete; 106 EventListener oncomplete;
109 107
110 final num sampleRate; 108 final num sampleRate;
(...skipping 2014 matching lines...) Expand 10 before | Expand all | Expand 10 after
2125 } 2123 }
2126 2124
2127 class _FileListJs extends _DOMTypeJs implements FileList native "*FileList" { 2125 class _FileListJs extends _DOMTypeJs implements FileList native "*FileList" {
2128 2126
2129 final int length; 2127 final int length;
2130 2128
2131 _FileJs item(int index) native; 2129 _FileJs item(int index) native;
2132 } 2130 }
2133 2131
2134 class _FileReaderJs extends _DOMTypeJs implements FileReader native "*FileReader " { 2132 class _FileReaderJs extends _DOMTypeJs implements FileReader native "*FileReader " {
2135 FileReader() native;
2136
2137 2133
2138 static final int DONE = 2; 2134 static final int DONE = 2;
2139 2135
2140 static final int EMPTY = 0; 2136 static final int EMPTY = 0;
2141 2137
2142 static final int LOADING = 1; 2138 static final int LOADING = 1;
2143 2139
2144 final _FileErrorJs error; 2140 final _FileErrorJs error;
2145 2141
2146 EventListener onabort; 2142 EventListener onabort;
(...skipping 8667 matching lines...) Expand 10 before | Expand all | Expand 10 after
10814 String name; 10810 String name;
10815 10811
10816 void deleteRule(String key) native; 10812 void deleteRule(String key) native;
10817 10813
10818 _WebKitCSSKeyframeRuleJs findRule(String key) native; 10814 _WebKitCSSKeyframeRuleJs findRule(String key) native;
10819 10815
10820 void insertRule(String rule) native; 10816 void insertRule(String rule) native;
10821 } 10817 }
10822 10818
10823 class _WebKitCSSMatrixJs extends _DOMTypeJs implements WebKitCSSMatrix native "* WebKitCSSMatrix" { 10819 class _WebKitCSSMatrixJs extends _DOMTypeJs implements WebKitCSSMatrix native "* WebKitCSSMatrix" {
10824 WebKitCSSMatrix([String spec]) native;
10825
10826 10820
10827 num a; 10821 num a;
10828 10822
10829 num b; 10823 num b;
10830 10824
10831 num c; 10825 num c;
10832 10826
10833 num d; 10827 num d;
10834 10828
10835 num e; 10829 num e;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
10938 10932
10939 static final int CSS_TRANSLATEZ = 12; 10933 static final int CSS_TRANSLATEZ = 12;
10940 10934
10941 final int operationType; 10935 final int operationType;
10942 } 10936 }
10943 10937
10944 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "* WebKitNamedFlow" { 10938 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "* WebKitNamedFlow" {
10945 } 10939 }
10946 10940
10947 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo int" { 10941 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo int" {
10948 WebKitPoint(num x, num y) native;
10949
10950 10942
10951 num x; 10943 num x;
10952 10944
10953 num y; 10945 num y;
10954 } 10946 }
10955 10947
10956 class _WebKitTransitionEventJs extends _EventJs implements WebKitTransitionEvent native "*WebKitTransitionEvent" { 10948 class _WebKitTransitionEventJs extends _EventJs implements WebKitTransitionEvent native "*WebKitTransitionEvent" {
10957 10949
10958 final num elapsedTime; 10950 final num elapsedTime;
10959 10951
10960 final String propertyName; 10952 final String propertyName;
10961 } 10953 }
10962 10954
10963 class _WebSocketJs extends _DOMTypeJs implements WebSocket native "*WebSocket" { 10955 class _WebSocketJs extends _DOMTypeJs implements WebSocket native "*WebSocket" {
10964 WebSocket(String url) native;
10965
10966 10956
10967 static final int CLOSED = 3; 10957 static final int CLOSED = 3;
10968 10958
10969 static final int CLOSING = 2; 10959 static final int CLOSING = 2;
10970 10960
10971 static final int CONNECTING = 0; 10961 static final int CONNECTING = 0;
10972 10962
10973 static final int OPEN = 1; 10963 static final int OPEN = 1;
10974 10964
10975 final String URL; 10965 final String URL;
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
11122 final String appVersion; 11112 final String appVersion;
11123 11113
11124 final bool onLine; 11114 final bool onLine;
11125 11115
11126 final String platform; 11116 final String platform;
11127 11117
11128 final String userAgent; 11118 final String userAgent;
11129 } 11119 }
11130 11120
11131 class _XMLHttpRequestJs extends _DOMTypeJs implements XMLHttpRequest native "*XM LHttpRequest" { 11121 class _XMLHttpRequestJs extends _DOMTypeJs implements XMLHttpRequest native "*XM LHttpRequest" {
11132 XMLHttpRequest() native;
11133
11134 11122
11135 static final int DONE = 4; 11123 static final int DONE = 4;
11136 11124
11137 static final int HEADERS_RECEIVED = 2; 11125 static final int HEADERS_RECEIVED = 2;
11138 11126
11139 static final int LOADING = 3; 11127 static final int LOADING = 3;
11140 11128
11141 static final int OPENED = 1; 11129 static final int OPENED = 1;
11142 11130
11143 static final int UNSENT = 0; 11131 static final int UNSENT = 0;
(...skipping 12174 matching lines...) Expand 10 before | Expand all | Expand 10 after
23318 class _DOMTypeJs implements DOMType native '*DOMType' { 23306 class _DOMTypeJs implements DOMType native '*DOMType' {
23319 23307
23320 var dartObjectLocalStorage; 23308 var dartObjectLocalStorage;
23321 23309
23322 String get typeName() native; 23310 String get typeName() native;
23323 } 23311 }
23324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23312 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23325 // for details. All rights reserved. Use of this source code is governed by a 23313 // for details. All rights reserved. Use of this source code is governed by a
23326 // BSD-style license that can be found in the LICENSE file. 23314 // BSD-style license that can be found in the LICENSE file.
23327 23315
23328
23329 // These factory methods could all live in one factory provider class but dartc
23330 // has a bug (5399939) preventing that.
23331
23332 class _AudioContextFactoryProvider { 23316 class _AudioContextFactoryProvider {
23333 23317
23334 factory AudioContext() native ''' 23318 factory AudioContext() native '''
23335 var constructor = window.AudioContext || window.webkitAudioContext; 23319 var constructor = window.AudioContext || window.webkitAudioContext;
23336 return new constructor(); 23320 return new constructor();
23337 '''; 23321 ''';
23338 } 23322 }
23339 23323
23340 class _DOMParserFactoryProvider { 23324 class _DOMParserFactoryProvider {
23341 23325
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
23512 if (length < 0) throw new IllegalArgumentException('length'); 23496 if (length < 0) throw new IllegalArgumentException('length');
23513 if (start < 0) throw new IndexOutOfRangeException(start); 23497 if (start < 0) throw new IndexOutOfRangeException(start);
23514 int end = start + length; 23498 int end = start + length;
23515 if (end > a.length) throw new IndexOutOfRangeException(end); 23499 if (end > a.length) throw new IndexOutOfRangeException(end);
23516 for (int i = start; i < end; i++) { 23500 for (int i = start; i < end; i++) {
23517 accumulator.add(a[i]); 23501 accumulator.add(a[i]);
23518 } 23502 }
23519 return accumulator; 23503 return accumulator;
23520 } 23504 }
23521 } 23505 }
OLDNEW
« no previous file with comments | « no previous file | client/dom/generated/src/frog/AudioContext.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698