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

Unified Diff: sdk/lib/html/src/shared_FactoryProviders.dart

Issue 11365019: Merging dart:html interfaces and implementations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing merged classes in dartium not compiling under dartc. Created 8 years, 1 month 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 | « sdk/lib/html/src/native_DOMImplementation.dart ('k') | sdk/lib/html/templates/dart2js_impl.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/src/shared_FactoryProviders.dart
diff --git a/sdk/lib/html/src/shared_FactoryProviders.dart b/sdk/lib/html/src/shared_FactoryProviders.dart
index 6ae9b9ffaa670725216e5f4db4e8076c157e5701..045b43c50cbca591db09e0c91c280568f207060d 100644
--- a/sdk/lib/html/src/shared_FactoryProviders.dart
+++ b/sdk/lib/html/src/shared_FactoryProviders.dart
@@ -5,7 +5,7 @@
class _CustomEventFactoryProvider {
static CustomEvent createCustomEvent(String type, [bool canBubble = true,
bool cancelable = true, Object detail = null]) {
- final _CustomEventImpl e = _document.$dom_createEvent("CustomEvent");
+ final CustomEvent e = document.$dom_createEvent("CustomEvent");
e.$dom_initCustomEvent(type, canBubble, cancelable, detail);
return e;
}
@@ -14,7 +14,7 @@ class _CustomEventFactoryProvider {
class _EventFactoryProvider {
static Event createEvent(String type, [bool canBubble = true,
bool cancelable = true]) {
- final _EventImpl e = _document.$dom_createEvent("Event");
+ final Event e = document.$dom_createEvent("Event");
e.$dom_initEvent(type, canBubble, cancelable);
return e;
}
@@ -26,7 +26,7 @@ class _MouseEventFactoryProvider {
[bool canBubble = true, bool cancelable = true, bool ctrlKey = false,
bool altKey = false, bool shiftKey = false, bool metaKey = false,
EventTarget relatedTarget = null]) {
- final e = _document.$dom_createEvent("MouseEvent");
+ final e = document.$dom_createEvent("MouseEvent");
e.$dom_initMouseEvent(type, canBubble, cancelable, view, detail,
screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey,
button, relatedTarget);
@@ -84,7 +84,7 @@ class _DocumentFragmentFactoryProvider {
class _SVGElementFactoryProvider {
static SVGElement createSVGElement_tag(String tag) {
final Element temp =
- _document.$dom_createElementNS("http://www.w3.org/2000/svg", tag);
+ document.$dom_createElementNS("http://www.w3.org/2000/svg", tag);
return temp;
}
« no previous file with comments | « sdk/lib/html/src/native_DOMImplementation.dart ('k') | sdk/lib/html/templates/dart2js_impl.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698