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

Side by Side Diff: client/dom/templates/dom/wrapping/wrapping_dom.js

Issue 9310103: Add a constructor for DOMParser. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 // DO NOT EDIT 5 // DO NOT EDIT
6 // Auto-generated Dart DOM implementation. 6 // Auto-generated Dart DOM implementation.
7 7
8 $!CODE 8 $!CODE
9 9
10 function __dom_native_TimeoutHander_method(_this, callback, timeout, operation) { 10 function __dom_native_TimeoutHander_method(_this, callback, timeout, operation) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 function native__AudioContextFactoryProvider_create() { 52 function native__AudioContextFactoryProvider_create() {
53 try { 53 try {
54 var constructor = window.AudioContext || window.webkitAudioContext; 54 var constructor = window.AudioContext || window.webkitAudioContext;
55 return __dom_wrap(new constructor()); 55 return __dom_wrap(new constructor());
56 } catch (e) { 56 } catch (e) {
57 throw __dom_wrap_exception(e); 57 throw __dom_wrap_exception(e);
58 } 58 }
59 } 59 }
60 60
61 function native__DOMParserFactoryProvider_create() {
62 try {
63 return __dom_wrap(new DOMParser());
64 } catch (e) {
65 throw __dom_wrap_exception(e);
66 }
67 }
68
61 function native__FileReaderFactoryProvider_create() { 69 function native__FileReaderFactoryProvider_create() {
62 try { 70 try {
63 return __dom_wrap(new FileReader()); 71 return __dom_wrap(new FileReader());
64 } catch (e) { 72 } catch (e) {
65 throw __dom_wrap_exception(e); 73 throw __dom_wrap_exception(e);
66 } 74 }
67 } 75 }
68 76
69 function native__TypedArrayFactoryProvider__F32(arg) { 77 function native__TypedArrayFactoryProvider__F32(arg) {
70 try { 78 try {
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 function native__NativeDomGlobalProperties_getWindow() { 353 function native__NativeDomGlobalProperties_getWindow() {
346 // TODO: Should the window be obtained from an isolate? 354 // TODO: Should the window be obtained from an isolate?
347 return __dom_wrap(window); 355 return __dom_wrap(window);
348 } 356 }
349 357
350 // Declared in src/GlobalProperties.dart 358 // Declared in src/GlobalProperties.dart
351 function native__NativeDomGlobalProperties_getDocument() { 359 function native__NativeDomGlobalProperties_getDocument() {
352 // TODO: Should the window be obtained from an isolate? 360 // TODO: Should the window be obtained from an isolate?
353 return __dom_wrap(window.document); 361 return __dom_wrap(window.document);
354 } 362 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698