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

Side by Side Diff: client/html/html_dartium.dart

Issue 9610011: Port DocumentFragment to the new wrapperless DOM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge with head Created 8 years, 9 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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:html library. 6 // Auto-generated dart:html library.
7 7
8 #library("html"); 8 #library("html");
9 9
10 #import('dart:dom', prefix:'dom'); 10 #import('dart:dom', prefix:'dom');
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 _wrap(raw) { 1121 _wrap(raw) {
1122 if (raw is! dom.DOMType) return raw; 1122 if (raw is! dom.DOMType) return raw;
1123 dom.DOMType domObject = raw; 1123 dom.DOMType domObject = raw;
1124 if (domObject.dartObjectLocalStorage != null) 1124 if (domObject.dartObjectLocalStorage != null)
1125 return domObject.dartObjectLocalStorage; 1125 return domObject.dartObjectLocalStorage;
1126 switch(domObject.typeName) { 1126 switch(domObject.typeName) {
1127 case 'HTMLDocument': 1127 case 'HTMLDocument':
1128 throw 'A document should never be wrapped directly. TODO(jacobr) XXX'; 1128 throw 'A document should never be wrapped directly. TODO(jacobr) XXX';
1129 case 'HTMLHtmlElement': 1129 case 'HTMLHtmlElement':
1130 return new _DocumentImpl._wrap(domObject); 1130 return new _DocumentImpl._wrap(domObject);
1131 case 'HTMLElement':
1132 return new _UnknownElementImpl._wrap(domObject);
1131 case "EventTarget": return new _EventTargetImpl._wrap(domObject); 1133 case "EventTarget": return new _EventTargetImpl._wrap(domObject);
1132 case "AbstractWorker": return new _AbstractWorkerImpl._wrap(domObject); 1134 case "AbstractWorker": return new _AbstractWorkerImpl._wrap(domObject);
1133 case "Node": return new _NodeImpl._wrap(domObject); 1135 case "Node": return new _NodeImpl._wrap(domObject);
1134 case "NodeSelector": return new _NodeSelectorImpl._wrap(domObject); 1136 case "NodeSelector": return new _NodeSelectorImpl._wrap(domObject);
1135 case "ElementTraversal": return new _ElementTraversalImpl._wrap(domObject); 1137 case "ElementTraversal": return new _ElementTraversalImpl._wrap(domObject);
1136 case "Element": return new _ElementImpl._wrap(domObject); 1138 case "Element": return new _ElementImpl._wrap(domObject);
1137 case "HTMLAnchorElement": return new _AnchorElementImpl._wrap(domObject); 1139 case "HTMLAnchorElement": return new _AnchorElementImpl._wrap(domObject);
1138 case "WebKitAnimation": return new _AnimationImpl._wrap(domObject); 1140 case "WebKitAnimation": return new _AnimationImpl._wrap(domObject);
1139 case "Event": return new _EventImpl._wrap(domObject); 1141 case "Event": return new _EventImpl._wrap(domObject);
1140 case "WebKitAnimationEvent": return new _AnimationEventImpl._wrap(domObject) ; 1142 case "WebKitAnimationEvent": return new _AnimationEventImpl._wrap(domObject) ;
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1625 case "XPathEvaluator": return new _XPathEvaluatorImpl._wrap(domObject); 1627 case "XPathEvaluator": return new _XPathEvaluatorImpl._wrap(domObject);
1626 case "XPathException": return new _XPathExceptionImpl._wrap(domObject); 1628 case "XPathException": return new _XPathExceptionImpl._wrap(domObject);
1627 case "XPathExpression": return new _XPathExpressionImpl._wrap(domObject); 1629 case "XPathExpression": return new _XPathExpressionImpl._wrap(domObject);
1628 case "XPathNSResolver": return new _XPathNSResolverImpl._wrap(domObject); 1630 case "XPathNSResolver": return new _XPathNSResolverImpl._wrap(domObject);
1629 case "XPathResult": return new _XPathResultImpl._wrap(domObject); 1631 case "XPathResult": return new _XPathResultImpl._wrap(domObject);
1630 case "XSLTProcessor": return new _XSLTProcessorImpl._wrap(domObject); 1632 case "XSLTProcessor": return new _XSLTProcessorImpl._wrap(domObject);
1631 default: 1633 default:
1632 throw 'Unrecognized object $domObject. Name=${domObject.typeName}'; 1634 throw 'Unrecognized object $domObject. Name=${domObject.typeName}';
1633 } 1635 }
1634 } 1636 }
OLDNEW
« no previous file with comments | « client/html/generated/html/interface/DocumentFragment.dart ('k') | client/html/release/html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698