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

Unified Diff: lib/html/doc/nodoc-src/shared_FactoryProviders.dart

Issue 10544064: Add dummy dart:html library for documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/html/doc/nodoc-src/_XSLTProcessorFactoryProvider.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/doc/nodoc-src/shared_FactoryProviders.dart
diff --git a/lib/html/doc/nodoc-src/shared_FactoryProviders.dart b/lib/html/doc/nodoc-src/shared_FactoryProviders.dart
new file mode 100644
index 0000000000000000000000000000000000000000..1a5deae8db0452bae7c2ec8fd77ceabddfcc43ed
--- /dev/null
+++ b/lib/html/doc/nodoc-src/shared_FactoryProviders.dart
@@ -0,0 +1,38 @@
+// 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.
+
+class _EventFactoryProvider {
+ factory Event(String type, [bool canBubble = true,
+ bool cancelable = true]) => null;
+}
+
+class _MouseEventFactoryProvider {
+ factory MouseEvent(String type, Window view, int detail,
+ int screenX, int screenY, int clientX, int clientY, int button,
+ [bool canBubble = true, bool cancelable = true, bool ctrlKey = false,
+ bool altKey = false, bool shiftKey = false, bool metaKey = false,
+ EventTarget relatedTarget = null]) => null;
+}
+
+class _CSSStyleDeclarationFactoryProvider {
+ factory CSSStyleDeclaration.css(String css) => null;
+ factory CSSStyleDeclaration() => null;
+}
+
+class _DocumentFragmentFactoryProvider {
+ /** @domName Document.createDocumentFragment */
+ factory DocumentFragment() => document.createDocumentFragment();
+ factory DocumentFragment.html(String html) => null;
+ factory DocumentFragment.xml(String xml) => null;
+ factory DocumentFragment.svg(String svg) => null;
+}
+
+class _SVGElementFactoryProvider {
+ factory SVGElement.tag(String tag) => null;
+ factory SVGElement.svg(String svg) => null;
+}
+
+class _SVGSVGElementFactoryProvider {
+ factory SVGSVGElement() => null;
+}
« no previous file with comments | « lib/html/doc/nodoc-src/_XSLTProcessorFactoryProvider.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698