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

Side by Side Diff: tools/dom/src/dart2js_LocationWrapper.dart

Issue 11691009: Moved most of html lib generating scripts into tools. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of html; 5 part of html;
6 6
7 // On Firefox 11, the object obtained from 'window.location' is very strange. 7 // On Firefox 11, the object obtained from 'window.location' is very strange.
8 // It can't be monkey-patched and seems immune to putting methods on 8 // It can't be monkey-patched and seems immune to putting methods on
9 // Object.prototype. We are forced to wrap the object. 9 // Object.prototype. We are forced to wrap the object.
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void reload() => JS('void', '#.reload()', _ptr); 75 void reload() => JS('void', '#.reload()', _ptr);
76 76
77 void replace(String url) => JS('void', '#.replace(#)', _ptr, url); 77 void replace(String url) => JS('void', '#.replace(#)', _ptr, url);
78 78
79 String toString() => JS('String', '#.toString()', _ptr); 79 String toString() => JS('String', '#.toString()', _ptr);
80 80
81 81
82 static _get(p, m) => JS('var', '#[#]', p, m); 82 static _get(p, m) => JS('var', '#[#]', p, m);
83 static _set(p, m, v) => JS('void', '#[#] = #', p, m, v); 83 static _set(p, m, v) => JS('void', '#[#] = #', p, m, v);
84 } 84 }
OLDNEW
« no previous file with comments | « tools/dom/src/dart2js_KeyEvent.dart ('k') | tools/dom/src/dart2js_TypedArrayFactoryProvider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698