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

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

Issue 10540175: 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
30 class _DeprecatedPeerConnectionFactoryProvider { 37 class _DeprecatedPeerConnectionFactoryProvider {
31 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback) => _dummy(); 38 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback) => _dummy();
32 } 39 }
33 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 40 // 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 41 // 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. 42 // BSD-style license that can be found in the LICENSE file.
36 43
37 class _EventSourceFactoryProvider { 44 class _EventSourceFactoryProvider {
38 factory EventSource(String scriptUrl) => _dummy(); 45 factory EventSource(String scriptUrl) => _dummy();
39 } 46 }
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after
1953 void clear(); 1960 void clear();
1954 1961
1955 DataTransferItem item(int index); 1962 DataTransferItem item(int index);
1956 } 1963 }
1957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1958 // for details. All rights reserved. Use of this source code is governed by a 1965 // for details. All rights reserved. Use of this source code is governed by a
1959 // BSD-style license that can be found in the LICENSE file. 1966 // BSD-style license that can be found in the LICENSE file.
1960 1967
1961 // WARNING: Do not edit - generated code. 1968 // WARNING: Do not edit - generated code.
1962 1969
1963 interface DataView extends ArrayBufferView { 1970 interface DataView extends ArrayBufferView default _DataViewFactoryProvider {
1971
1972 DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]);
1964 1973
1965 num getFloat32(int byteOffset, [bool littleEndian]); 1974 num getFloat32(int byteOffset, [bool littleEndian]);
1966 1975
1967 num getFloat64(int byteOffset, [bool littleEndian]); 1976 num getFloat64(int byteOffset, [bool littleEndian]);
1968 1977
1969 int getInt16(int byteOffset, [bool littleEndian]); 1978 int getInt16(int byteOffset, [bool littleEndian]);
1970 1979
1971 int getInt32(int byteOffset, [bool littleEndian]); 1980 int getInt32(int byteOffset, [bool littleEndian]);
1972 1981
1973 Object getInt8(); 1982 int getInt8(int byteOffset);
1974 1983
1975 int getUint16(int byteOffset, [bool littleEndian]); 1984 int getUint16(int byteOffset, [bool littleEndian]);
1976 1985
1977 int getUint32(int byteOffset, [bool littleEndian]); 1986 int getUint32(int byteOffset, [bool littleEndian]);
1978 1987
1979 Object getUint8(); 1988 int getUint8(int byteOffset);
1980 1989
1981 void setFloat32(int byteOffset, num value, [bool littleEndian]); 1990 void setFloat32(int byteOffset, num value, [bool littleEndian]);
1982 1991
1983 void setFloat64(int byteOffset, num value, [bool littleEndian]); 1992 void setFloat64(int byteOffset, num value, [bool littleEndian]);
1984 1993
1985 void setInt16(int byteOffset, int value, [bool littleEndian]); 1994 void setInt16(int byteOffset, int value, [bool littleEndian]);
1986 1995
1987 void setInt32(int byteOffset, int value, [bool littleEndian]); 1996 void setInt32(int byteOffset, int value, [bool littleEndian]);
1988 1997
1989 void setInt8(); 1998 void setInt8(int byteOffset, int value);
1990 1999
1991 void setUint16(int byteOffset, int value, [bool littleEndian]); 2000 void setUint16(int byteOffset, int value, [bool littleEndian]);
1992 2001
1993 void setUint32(int byteOffset, int value, [bool littleEndian]); 2002 void setUint32(int byteOffset, int value, [bool littleEndian]);
1994 2003
1995 void setUint8(); 2004 void setUint8(int byteOffset, int value);
1996 } 2005 }
1997 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2006 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1998 // for details. All rights reserved. Use of this source code is governed by a 2007 // for details. All rights reserved. Use of this source code is governed by a
1999 // BSD-style license that can be found in the LICENSE file. 2008 // BSD-style license that can be found in the LICENSE file.
2000 2009
2001 // WARNING: Do not edit - generated code. 2010 // WARNING: Do not edit - generated code.
2002 2011
2003 interface Database { 2012 interface Database {
2004 2013
2005 final String version; 2014 final String version;
(...skipping 10920 matching lines...) Expand 10 before | Expand all | Expand 10 after
12926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12927 // for details. All rights reserved. Use of this source code is governed by a 12936 // for details. All rights reserved. Use of this source code is governed by a
12928 // BSD-style license that can be found in the LICENSE file. 12937 // BSD-style license that can be found in the LICENSE file.
12929 12938
12930 Window get window() => _dummy(); 12939 Window get window() => _dummy();
12931 12940
12932 // TODO(vsm): Remove when prefixes are supported. 12941 // TODO(vsm): Remove when prefixes are supported.
12933 Window get dom_window() => _dummy(); 12942 Window get dom_window() => _dummy();
12934 12943
12935 Document get document() => _dummy(); 12944 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