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

Unified Diff: lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10826146: Move noSuchMethod hook from UnknownElement to Element (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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:
Download patch
« no previous file with comments | « lib/dom/templates/html/impl/impl_UnknownElement.darttemplate ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
index 669c7f0c6bb8700a6f8d0629f9c9f8f61642d816..7fdef38f82da949c744a28d7ef692389a19d1b77 100644
--- a/lib/html/dart2js/html_dart2js.dart
+++ b/lib/html/dart2js/html_dart2js.dart
@@ -6049,6 +6049,12 @@ class _ElementImpl extends _NodeImpl implements Element native "*Element" {
new Completer<CSSStyleDeclaration>());
}
+ // Hooks to support custom WebComponents.
+ var xtag;
+
+ // TODO(vsm): Implement noSuchMethod or similar for dart2js.
+
+
_ElementEventsImpl get on() =>
new _ElementEventsImpl(this);
@@ -6184,6 +6190,9 @@ class _ElementImpl extends _NodeImpl implements Element native "*Element" {
}
+// Temporary dispatch hook to support WebComponents.
+Function dynamicUnknownElementDispatcher;
+
final _START_TAG_REGEXP = const RegExp('<(\\w+)');
class _ElementFactoryProvider {
static final _CUSTOM_PARENT_TAG_MAP = const {
@@ -15315,20 +15324,8 @@ class _Uint8ClampedArrayImpl extends _Uint8ArrayImpl implements Uint8ClampedArra
_Uint8ClampedArrayImpl subarray(int start, [int end]) native;
}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// Temporary dispatch hook to support WebComponents.
-Function dynamicUnknownElementDispatcher;
class _UnknownElementImpl extends _ElementImpl implements UnknownElement native "*HTMLUnknownElement" {
-
-
- // Hooks to support custom WebComponents.
- var xtag;
-
- // TODO(vsm): Implement noSuchMethod or similar for dart2js.
}
class _ValidityStateImpl implements ValidityState native "*ValidityState" {
« no previous file with comments | « lib/dom/templates/html/impl/impl_UnknownElement.darttemplate ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698