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

Unified Diff: lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10817019: Provide noSuchMethod hook for UnknownElement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove erroneous static Created 8 years, 5 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
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index 60a87ffbb9cbae8114301a277253f05db9b62f38..83919dc13605883e572ac384a2437f173131d432 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -11237,10 +11237,22 @@ class _HTMLUListElementImpl extends _HTMLElementImpl implements UListElement {
// 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.
-// WARNING: Do not edit - generated code.
+// Temporary dispatch hook to suppoer WebComponents.
+static Function dynamicUnknownElementDispatcher;
class _HTMLUnknownElementImpl extends _HTMLElementImpl implements UnknownElement {
+
+ // Hooks to support custom WebComponents.
+ var dartObjectLocalStorage;
+
+ noSuchMethod(String name, List args) {
+ if (dynamicUnknownElementDispatcher == null) {
+ throw new NoSuchMethodException(this, name, args);
+ } else {
+ return dynamicUnknownElementDispatcher(this, name, args);
+ }
+ }
}
// 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

Powered by Google App Engine
This is Rietveld 408576698