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

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

Issue 8879037: Added WebSocket support for dartc and frog (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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/WebSocket.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 #native('frog_dom.js'); 3 #native('frog_dom.js');
4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5 // for details. All rights reserved. Use of this source code is governed by a 5 // for details. All rights reserved. Use of this source code is governed by a
6 // BSD-style license that can be found in the LICENSE file. 6 // BSD-style license that can be found in the LICENSE file.
7 7
8 // DO NOT EDIT 8 // DO NOT EDIT
9 // Auto-generated Dart DOM library. 9 // Auto-generated Dart DOM library.
10 10
(...skipping 10641 matching lines...) Expand 10 before | Expand all | Expand 10 after
10652 class WebKitTransitionEvent extends Event native "*WebKitTransitionEvent" { 10652 class WebKitTransitionEvent extends Event native "*WebKitTransitionEvent" {
10653 10653
10654 num elapsedTime; 10654 num elapsedTime;
10655 10655
10656 String propertyName; 10656 String propertyName;
10657 10657
10658 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela bleArg, String propertyNameArg, num elapsedTimeArg) native; 10658 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela bleArg, String propertyNameArg, num elapsedTimeArg) native;
10659 } 10659 }
10660 10660
10661 class WebSocket native "*WebSocket" { 10661 class WebSocket native "*WebSocket" {
10662 WebSocket(String url) native;
10663
10662 10664
10663 static final int CLOSED = 3; 10665 static final int CLOSED = 3;
10664 10666
10665 static final int CLOSING = 2; 10667 static final int CLOSING = 2;
10666 10668
10667 static final int CONNECTING = 0; 10669 static final int CONNECTING = 0;
10668 10670
10669 static final int OPEN = 1; 10671 static final int OPEN = 1;
10670 10672
10671 String URL; 10673 String URL;
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
11334 startIndex = a.length - 1; 11336 startIndex = a.length - 1;
11335 } 11337 }
11336 for (int i = startIndex; i >= 0; i--) { 11338 for (int i = startIndex; i >= 0; i--) {
11337 if (a[i] == element) { 11339 if (a[i] == element) {
11338 return i; 11340 return i;
11339 } 11341 }
11340 } 11342 }
11341 return -1; 11343 return -1;
11342 } 11344 }
11343 } 11345 }
OLDNEW
« no previous file with comments | « no previous file | client/dom/generated/src/frog/WebSocket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698