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

Side by Side Diff: lib/dom/dom.dart

Issue 10548065: Revert "Fix DataView constructor and byte accessors." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | lib/dom/frog/dom_frog.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) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, 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 with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
11 11
12 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13 // for details. All rights reserved. Use of this source code is governed by a 13 // for details. All rights reserved. Use of this source code is governed by a
14 // BSD-style license that can be found in the LICENSE file. 14 // BSD-style license that can be found in the LICENSE file.
15 15
16 class _DOMParserFactoryProvider { 16 class _DOMParserFactoryProvider {
17 factory DOMParser() => _dummy(); 17 factory DOMParser() => _dummy();
18 } 18 }
19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20 // for details. All rights reserved. Use of this source code is governed by a 20 // for details. All rights reserved. Use of this source code is governed by a
21 // BSD-style license that can be found in the LICENSE file. 21 // BSD-style license that can be found in the LICENSE file.
22 22
23 class _DOMURLFactoryProvider { 23 class _DOMURLFactoryProvider {
24 factory DOMURL() => _dummy(); 24 factory DOMURL() => _dummy();
25 } 25 }
26 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 26 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27 // for details. All rights reserved. Use of this source code is governed by a 27 // for details. All rights reserved. Use of this source code is governed by a
28 // BSD-style license that can be found in the LICENSE file. 28 // BSD-style license that can be found in the LICENSE file.
29 29
30 class _DataViewFactoryProvider {
31 factory DataView(ArrayBuffer buffer, [int byteOffset = null, int byteLength = null]) => _dummy();
32 }
33 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
34 // for details. All rights reserved. Use of this source code is governed by a
35 // BSD-style license that can be found in the LICENSE file.
36
37 class _DeprecatedPeerConnectionFactoryProvider { 30 class _DeprecatedPeerConnectionFactoryProvider {
38 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback) => _dummy(); 31 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback) => _dummy();
39 } 32 }
40 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 33 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
41 // for details. All rights reserved. Use of this source code is governed by a 34 // for details. All rights reserved. Use of this source code is governed by a
42 // BSD-style license that can be found in the LICENSE file. 35 // BSD-style license that can be found in the LICENSE file.
43 36
44 class _EventSourceFactoryProvider { 37 class _EventSourceFactoryProvider {
45 factory EventSource(String scriptUrl) => _dummy(); 38 factory EventSource(String scriptUrl) => _dummy();
46 } 39 }
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after
1960 void clear(); 1953 void clear();
1961 1954
1962 DataTransferItem item(int index); 1955 DataTransferItem item(int index);
1963 } 1956 }
1964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1965 // for details. All rights reserved. Use of this source code is governed by a 1958 // for details. All rights reserved. Use of this source code is governed by a
1966 // BSD-style license that can be found in the LICENSE file. 1959 // BSD-style license that can be found in the LICENSE file.
1967 1960
1968 // WARNING: Do not edit - generated code. 1961 // WARNING: Do not edit - generated code.
1969 1962
1970 interface DataView extends ArrayBufferView default _DataViewFactoryProvider { 1963 interface DataView extends ArrayBufferView {
1971
1972 DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]);
1973 1964
1974 num getFloat32(int byteOffset, [bool littleEndian]); 1965 num getFloat32(int byteOffset, [bool littleEndian]);
1975 1966
1976 num getFloat64(int byteOffset, [bool littleEndian]); 1967 num getFloat64(int byteOffset, [bool littleEndian]);
1977 1968
1978 int getInt16(int byteOffset, [bool littleEndian]); 1969 int getInt16(int byteOffset, [bool littleEndian]);
1979 1970
1980 int getInt32(int byteOffset, [bool littleEndian]); 1971 int getInt32(int byteOffset, [bool littleEndian]);
1981 1972
1982 int getInt8(int byteOffset); 1973 Object getInt8();
1983 1974
1984 int getUint16(int byteOffset, [bool littleEndian]); 1975 int getUint16(int byteOffset, [bool littleEndian]);
1985 1976
1986 int getUint32(int byteOffset, [bool littleEndian]); 1977 int getUint32(int byteOffset, [bool littleEndian]);
1987 1978
1988 int getUint8(int byteOffset); 1979 Object getUint8();
1989 1980
1990 void setFloat32(int byteOffset, num value, [bool littleEndian]); 1981 void setFloat32(int byteOffset, num value, [bool littleEndian]);
1991 1982
1992 void setFloat64(int byteOffset, num value, [bool littleEndian]); 1983 void setFloat64(int byteOffset, num value, [bool littleEndian]);
1993 1984
1994 void setInt16(int byteOffset, int value, [bool littleEndian]); 1985 void setInt16(int byteOffset, int value, [bool littleEndian]);
1995 1986
1996 void setInt32(int byteOffset, int value, [bool littleEndian]); 1987 void setInt32(int byteOffset, int value, [bool littleEndian]);
1997 1988
1998 void setInt8(int byteOffset, int value); 1989 void setInt8();
1999 1990
2000 void setUint16(int byteOffset, int value, [bool littleEndian]); 1991 void setUint16(int byteOffset, int value, [bool littleEndian]);
2001 1992
2002 void setUint32(int byteOffset, int value, [bool littleEndian]); 1993 void setUint32(int byteOffset, int value, [bool littleEndian]);
2003 1994
2004 void setUint8(int byteOffset, int value); 1995 void setUint8();
2005 } 1996 }
2006 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1997 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2007 // for details. All rights reserved. Use of this source code is governed by a 1998 // for details. All rights reserved. Use of this source code is governed by a
2008 // BSD-style license that can be found in the LICENSE file. 1999 // BSD-style license that can be found in the LICENSE file.
2009 2000
2010 // WARNING: Do not edit - generated code. 2001 // WARNING: Do not edit - generated code.
2011 2002
2012 interface Database { 2003 interface Database {
2013 2004
2014 final String version; 2005 final String version;
(...skipping 10920 matching lines...) Expand 10 before | Expand all | Expand 10 after
12935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12936 // for details. All rights reserved. Use of this source code is governed by a 12927 // for details. All rights reserved. Use of this source code is governed by a
12937 // BSD-style license that can be found in the LICENSE file. 12928 // BSD-style license that can be found in the LICENSE file.
12938 12929
12939 Window get window() => _dummy(); 12930 Window get window() => _dummy();
12940 12931
12941 // TODO(vsm): Remove when prefixes are supported. 12932 // TODO(vsm): Remove when prefixes are supported.
12942 Window get dom_window() => _dummy(); 12933 Window get dom_window() => _dummy();
12943 12934
12944 Document get document() => _dummy(); 12935 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698