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

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

Issue 11470009: Removing more APIs from Document. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing tests. Created 8 years 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/dart2js/html_dart2js.dart ('k') | sdk/lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index cb201d77fed8c8fff2600adfeef5f403785d0436..f888755642eb763a3d831dbf035773632c45ebe9 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -7085,7 +7085,7 @@ class Document extends Node
/** @domName Document.preferredStylesheetSet */
- String get preferredStylesheetSet native "Document_preferredStylesheetSet_Getter";
+ String get $dom_preferredStylesheetSet native "Document_preferredStylesheetSet_Getter";
/** @domName Document.readyState */
@@ -7097,11 +7097,11 @@ class Document extends Node
/** @domName Document.selectedStylesheetSet */
- String get selectedStylesheetSet native "Document_selectedStylesheetSet_Getter";
+ String get $dom_selectedStylesheetSet native "Document_selectedStylesheetSet_Getter";
/** @domName Document.selectedStylesheetSet */
- void set selectedStylesheetSet(String value) native "Document_selectedStylesheetSet_Setter";
+ void set $dom_selectedStylesheetSet(String value) native "Document_selectedStylesheetSet_Setter";
/** @domName Document.styleSheets */
@@ -7165,7 +7165,7 @@ class Document extends Node
/** @domName Document.createRange */
- Range createRange() native "Document_createRange_Callback";
+ Range $dom_createRange() native "Document_createRange_Callback";
/** @domName Document.createTextNode */
@@ -7173,7 +7173,7 @@ class Document extends Node
/** @domName Document.createTouch */
- Touch createTouch(LocalWindow window, EventTarget target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce) native "Document_createTouch_Callback";
+ Touch $dom_createTouch(LocalWindow window, EventTarget target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce) native "Document_createTouch_Callback";
/** @domName Document.createTouchList */
@@ -7189,7 +7189,7 @@ class Document extends Node
/** @domName Document.getCSSCanvasContext */
- CanvasRenderingContext getCssCanvasContext(String contextId, String name, int width, int height) native "Document_getCSSCanvasContext_Callback";
+ CanvasRenderingContext $dom_getCssCanvasContext(String contextId, String name, int width, int height) native "Document_getCSSCanvasContext_Callback";
/** @domName Document.getElementById */
@@ -11718,15 +11718,30 @@ class HtmlDocument extends Document {
return document.$dom_elementFromPoint(x, y);
}
+ /** @domName Document.getCSSCanvasContext */
+ CanvasRenderingContext getCssCanvasContext(String contextId, String name,
+ int width, int height) {
+ return document.$dom_getCssCanvasContext(contextId, name, width, height);
+ }
+
/** @domName Document.head */
HeadElement get head => document.$dom_head;
/** @domName Document.lastModified */
String get lastModified => document.$dom_lastModified;
+ /** @domName Document.preferredStylesheetSet */
+ String get preferredStylesheetSet => document.$dom_preferredStylesheetSet;
+
/** @domName Document.referrer */
String get referrer => document.$dom_referrer;
+ /** @domName Document.selectedStylesheetSet */
+ String get selectedStylesheetSet => document.$dom_selectedStylesheetSet;
+ void set selectedStylesheetSet(String value) {
+ document.$dom_selectedStylesheetSet = value;
+ }
+
/** @domName Document.styleSheets */
List<StyleSheet> get styleSheets => document.$dom_styleSheets;
@@ -18112,6 +18127,8 @@ class RadioNodeList extends NodeList {
/// @domName Range
class Range extends NativeFieldWrapperClass1 {
+ factory Range() => document.$dom_createRange();
+
Range.internal();
static const int END_TO_END = 2;
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698