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

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

Issue 9167039: WebKit refresh (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 11 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 | « client/dom/dom_frog.dart ('k') | 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 AudioListener listener; 131 AudioListener listener;
132 132
133 EventListener oncomplete; 133 EventListener oncomplete;
134 134
135 num sampleRate; 135 num sampleRate;
136 136
137 RealtimeAnalyserNode createAnalyser() native; 137 RealtimeAnalyserNode createAnalyser() native;
138 138
139 BiquadFilterNode createBiquadFilter() native; 139 BiquadFilterNode createBiquadFilter() native;
140 140
141 AudioBuffer createBuffer() native; 141 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate = null]) native;
142 142
143 AudioBufferSourceNode createBufferSource() native; 143 AudioBufferSourceNode createBufferSource() native;
144 144
145 AudioChannelMerger createChannelMerger() native; 145 AudioChannelMerger createChannelMerger() native;
146 146
147 AudioChannelSplitter createChannelSplitter() native; 147 AudioChannelSplitter createChannelSplitter() native;
148 148
149 ConvolverNode createConvolver() native; 149 ConvolverNode createConvolver() native;
150 150
151 DelayNode createDelayNode() native; 151 DelayNode createDelayNode() native;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 } 206 }
207 207
208 class AudioNode native "*AudioNode" { 208 class AudioNode native "*AudioNode" {
209 209
210 AudioContext context; 210 AudioContext context;
211 211
212 int numberOfInputs; 212 int numberOfInputs;
213 213
214 int numberOfOutputs; 214 int numberOfOutputs;
215 215
216 void connect(AudioNode destination, [int output = null, int input = null]) nat ive; 216 void connect(AudioNode destination, int output, int input) native;
217 217
218 void disconnect([int output = null]) native; 218 void disconnect(int output) native;
219 219
220 var dartObjectLocalStorage; 220 var dartObjectLocalStorage;
221 221
222 String get typeName() native; 222 String get typeName() native;
223 } 223 }
224 224
225 class AudioPannerNode extends AudioNode native "*AudioPannerNode" { 225 class AudioPannerNode extends AudioNode native "*AudioPannerNode" {
226 226
227 static final int EQUALPOWER = 0; 227 static final int EQUALPOWER = 0;
228 228
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 void warn(Object arg) native; 892 void warn(Object arg) native;
893 893
894 var dartObjectLocalStorage; 894 var dartObjectLocalStorage;
895 895
896 String get typeName() native; 896 String get typeName() native;
897 } 897 }
898 898
899 class ConvolverNode extends AudioNode native "*ConvolverNode" { 899 class ConvolverNode extends AudioNode native "*ConvolverNode" {
900 900
901 AudioBuffer buffer; 901 AudioBuffer buffer;
902
903 bool normalize;
902 } 904 }
903 905
904 class Coordinates native "*Coordinates" { 906 class Coordinates native "*Coordinates" {
905 907
906 num accuracy; 908 num accuracy;
907 909
908 num altitude; 910 num altitude;
909 911
910 num altitudeAccuracy; 912 num altitudeAccuracy;
911 913
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 1594
1593 num gamma; 1595 num gamma;
1594 1596
1595 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma) native; 1597 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma) native;
1596 } 1598 }
1597 1599
1598 class DirectoryEntry extends Entry native "*DirectoryEntry" { 1600 class DirectoryEntry extends Entry native "*DirectoryEntry" {
1599 1601
1600 DirectoryReader createReader() native; 1602 DirectoryReader createReader() native;
1601 1603
1602 void getDirectory(String path, [WebKitFlags flags = null, EntryCallback succes sCallback = null, ErrorCallback errorCallback = null]) native; 1604 void getDirectory(String path, [Object flags = null, EntryCallback successCall back = null, ErrorCallback errorCallback = null]) native;
1603 1605
1604 void getFile(String path, [WebKitFlags flags = null, EntryCallback successCall back = null, ErrorCallback errorCallback = null]) native; 1606 void getFile(String path, [Object flags = null, EntryCallback successCallback = null, ErrorCallback errorCallback = null]) native;
1605 1607
1606 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack = null]) native; 1608 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack = null]) native;
1607 } 1609 }
1608 1610
1609 class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" { 1611 class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" {
1610 1612
1611 DirectoryReaderSync createReader() native; 1613 DirectoryReaderSync createReader() native;
1612 1614
1613 DirectoryEntrySync getDirectory(String path, WebKitFlags flags) native; 1615 DirectoryEntrySync getDirectory(String path, Object flags) native;
1614 1616
1615 FileEntrySync getFile(String path, WebKitFlags flags) native; 1617 FileEntrySync getFile(String path, Object flags) native;
1616 1618
1617 void removeRecursively() native; 1619 void removeRecursively() native;
1618 } 1620 }
1619 1621
1620 class DirectoryReader native "*DirectoryReader" { 1622 class DirectoryReader native "*DirectoryReader" {
1621 1623
1622 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback = null]) native; 1624 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback = null]) native;
1623 1625
1624 var dartObjectLocalStorage; 1626 var dartObjectLocalStorage;
1625 1627
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
2346 EventListener onloadstart; 2348 EventListener onloadstart;
2347 2349
2348 EventListener onprogress; 2350 EventListener onprogress;
2349 2351
2350 int readyState; 2352 int readyState;
2351 2353
2352 Object result; 2354 Object result;
2353 2355
2354 void abort() native; 2356 void abort() native;
2355 2357
2358 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2359
2360 bool dispatchEvent(Event evt) native;
2361
2356 void readAsArrayBuffer(Blob blob) native; 2362 void readAsArrayBuffer(Blob blob) native;
2357 2363
2358 void readAsBinaryString(Blob blob) native; 2364 void readAsBinaryString(Blob blob) native;
2359 2365
2360 void readAsDataURL(Blob blob) native; 2366 void readAsDataURL(Blob blob) native;
2361 2367
2362 void readAsText(Blob blob, [String encoding = null]) native; 2368 void readAsText(Blob blob, [String encoding = null]) native;
2363 2369
2370 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2371
2364 var dartObjectLocalStorage; 2372 var dartObjectLocalStorage;
2365 2373
2366 String get typeName() native; 2374 String get typeName() native;
2367 } 2375 }
2368 2376
2369 class FileReaderSync native "*FileReaderSync" { 2377 class FileReaderSync native "*FileReaderSync" {
2370 2378
2371 ArrayBuffer readAsArrayBuffer(Blob blob) native; 2379 ArrayBuffer readAsArrayBuffer(Blob blob) native;
2372 2380
2373 String readAsBinaryString(Blob blob) native; 2381 String readAsBinaryString(Blob blob) native;
(...skipping 2050 matching lines...) Expand 10 before | Expand all | Expand 10 after
4424 void recordActionTaken(int actionCode) native; 4432 void recordActionTaken(int actionCode) native;
4425 4433
4426 void recordPanelShown(int panelCode) native; 4434 void recordPanelShown(int panelCode) native;
4427 4435
4428 void recordSettingChanged(int settingChanged) native; 4436 void recordSettingChanged(int settingChanged) native;
4429 4437
4430 void requestAttachWindow() native; 4438 void requestAttachWindow() native;
4431 4439
4432 void requestDetachWindow() native; 4440 void requestDetachWindow() native;
4433 4441
4442 void requestSetDockSide(String side) native;
4443
4434 void saveAs(String fileName, String content) native; 4444 void saveAs(String fileName, String content) native;
4435 4445
4436 void sendMessageToBackend(String message) native; 4446 void sendMessageToBackend(String message) native;
4437 4447
4438 void setAttachedWindowHeight(int height) native; 4448 void setAttachedWindowHeight(int height) native;
4439 4449
4440 void setInjectedScriptForOrigin(String origin, String script) native; 4450 void setInjectedScriptForOrigin(String origin, String script) native;
4441 4451
4442 void showContextMenu(MouseEvent event, Object items) native; 4452 void showContextMenu(MouseEvent event, Object items) native;
4443 4453
(...skipping 6354 matching lines...) Expand 10 before | Expand all | Expand 10 after
10798 var dartObjectLocalStorage; 10808 var dartObjectLocalStorage;
10799 10809
10800 String get typeName() native; 10810 String get typeName() native;
10801 } 10811 }
10802 10812
10803 class WebKitAnimationEvent extends Event native "*WebKitAnimationEvent" { 10813 class WebKitAnimationEvent extends Event native "*WebKitAnimationEvent" {
10804 10814
10805 String animationName; 10815 String animationName;
10806 10816
10807 num elapsedTime; 10817 num elapsedTime;
10808
10809 void initWebKitAnimationEvent(String typeArg, bool canBubbleArg, bool cancelab leArg, String animationNameArg, num elapsedTimeArg) native;
10810 } 10818 }
10811 10819
10812 class WebKitAnimationList native "*WebKitAnimationList" { 10820 class WebKitAnimationList native "*WebKitAnimationList" {
10813 10821
10814 int length; 10822 int length;
10815 10823
10816 WebKitAnimation item(int index) native; 10824 WebKitAnimation item(int index) native;
10817 10825
10818 var dartObjectLocalStorage; 10826 var dartObjectLocalStorage;
10819 10827
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
10991 10999
10992 static final int CSS_TRANSLATEX = 2; 11000 static final int CSS_TRANSLATEX = 2;
10993 11001
10994 static final int CSS_TRANSLATEY = 3; 11002 static final int CSS_TRANSLATEY = 3;
10995 11003
10996 static final int CSS_TRANSLATEZ = 12; 11004 static final int CSS_TRANSLATEZ = 12;
10997 11005
10998 int operationType; 11006 int operationType;
10999 } 11007 }
11000 11008
11001 class WebKitFlags native "*WebKitFlags" {
11002
11003 bool create;
11004
11005 bool exclusive;
11006
11007 var dartObjectLocalStorage;
11008
11009 String get typeName() native;
11010 }
11011
11012 class WebKitMutationObserver native "*WebKitMutationObserver" { 11009 class WebKitMutationObserver native "*WebKitMutationObserver" {
11013 11010
11014 void disconnect() native; 11011 void disconnect() native;
11015 11012
11016 var dartObjectLocalStorage; 11013 var dartObjectLocalStorage;
11017 11014
11018 String get typeName() native; 11015 String get typeName() native;
11019 } 11016 }
11020 11017
11021 class WebKitNamedFlow native "*WebKitNamedFlow" { 11018 class WebKitNamedFlow native "*WebKitNamedFlow" {
(...skipping 14 matching lines...) Expand all
11036 var dartObjectLocalStorage; 11033 var dartObjectLocalStorage;
11037 11034
11038 String get typeName() native; 11035 String get typeName() native;
11039 } 11036 }
11040 11037
11041 class WebKitTransitionEvent extends Event native "*WebKitTransitionEvent" { 11038 class WebKitTransitionEvent extends Event native "*WebKitTransitionEvent" {
11042 11039
11043 num elapsedTime; 11040 num elapsedTime;
11044 11041
11045 String propertyName; 11042 String propertyName;
11046
11047 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela bleArg, String propertyNameArg, num elapsedTimeArg) native;
11048 } 11043 }
11049 11044
11050 class WebSocket native "*WebSocket" { 11045 class WebSocket native "*WebSocket" {
11051 WebSocket(String url) native; 11046 WebSocket(String url) native;
11052 11047
11053 11048
11054 static final int CLOSED = 3; 11049 static final int CLOSED = 3;
11055 11050
11056 static final int CLOSING = 2; 11051 static final int CLOSING = 2;
11057 11052
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after
12157 startIndex = a.length - 1; 12152 startIndex = a.length - 1;
12158 } 12153 }
12159 for (int i = startIndex; i >= 0; i--) { 12154 for (int i = startIndex; i >= 0; i--) {
12160 if (a[i] == element) { 12155 if (a[i] == element) {
12161 return i; 12156 return i;
12162 } 12157 }
12163 } 12158 }
12164 return -1; 12159 return -1;
12165 } 12160 }
12166 } 12161 }
OLDNEW
« no previous file with comments | « client/dom/dom_frog.dart ('k') | client/dom/generated/src/frog/AudioContext.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698