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

Unified Diff: sdk/lib/svg/dartium/svg_dartium.dart

Issue 23055008: Making almost all dom_ methods private. Exceptions will be addressed in a later CL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/svg/dartium/svg_dartium.dart
diff --git a/sdk/lib/svg/dartium/svg_dartium.dart b/sdk/lib/svg/dartium/svg_dartium.dart
index 1095161aefbd36b6822d5fee3d9939ebb0335ea6..62ffaf0b46ecc6c9fd6b7fdd34c840e6b0f38850 100644
--- a/sdk/lib/svg/dartium/svg_dartium.dart
+++ b/sdk/lib/svg/dartium/svg_dartium.dart
@@ -941,7 +941,7 @@ class ElementInstance extends EventTarget {
@DomName('SVGElementInstance.addEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "SVGElementInstance_addEventListener_Callback";
+ void _addEventListener(String type, EventListener listener, [bool useCapture]) native "SVGElementInstance_addEventListener_Callback";
@DomName('SVGElementInstance.dispatchEvent')
@DocsEditable()
@@ -951,7 +951,7 @@ class ElementInstance extends EventTarget {
@DomName('SVGElementInstance.removeEventListener')
@DocsEditable()
@Experimental() // untriaged
- void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "SVGElementInstance_removeEventListener_Callback";
+ void _removeEventListener(String type, EventListener listener, [bool useCapture]) native "SVGElementInstance_removeEventListener_Callback";
@DomName('SVGElementInstance.onabort')
@DocsEditable()
@@ -5306,7 +5306,7 @@ class SvgDocument extends Document {
@DomName('SVGDocument.createEvent')
@DocsEditable()
- Event $dom_createEvent(String eventType) native "SVGDocument_createEvent_Callback";
+ Event _createEvent(String eventType) native "SVGDocument_createEvent_Callback";
}
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
@@ -5403,8 +5403,8 @@ class SvgElement extends Element {
throw new UnsupportedError("Cannot invoke insertAdjacentElement on SVG.");
}
- HtmlCollection get $dom_children {
- throw new UnsupportedError("Cannot get dom_children on SVG.");
+ HtmlCollection get _children {
+ throw new UnsupportedError("Cannot get _children on SVG.");
}
bool get isContentEditable => false;
@@ -5427,7 +5427,7 @@ class SvgElement extends Element {
@DomName('SVGElement.className')
@DocsEditable()
@Experimental() // untriaged
- AnimatedString get $dom_svgClassName native "SVGElement_className_Getter";
+ AnimatedString get _svgClassName native "SVGElement_className_Getter";
@DomName('SVGElement.ownerSVGElement')
@DocsEditable()

Powered by Google App Engine
This is Rietveld 408576698