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

Unified Diff: sdk/lib/_blink/dartium/_blink_dartium.dart

Issue 442523003: Add property to CssStyleDeclaration to detect if a CSS value is available. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « no previous file | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | sdk/lib/html/dartium/html_dartium.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_blink/dartium/_blink_dartium.dart
diff --git a/sdk/lib/_blink/dartium/_blink_dartium.dart b/sdk/lib/_blink/dartium/_blink_dartium.dart
index 354c8c69a51d1f307c2a45c6233da2a129fcadd6..27d2c8df45aae7ff4d004ce3cd365c7682e00d1d 100644
--- a/sdk/lib/_blink/dartium/_blink_dartium.dart
+++ b/sdk/lib/_blink/dartium/_blink_dartium.dart
@@ -711,6 +711,8 @@ class BlinkCSSStyleDeclaration {
static $parentRule_Getter(mthis) native "CSSStyleDeclaration_parentRule_Getter";
+ static $__getter___Callback(mthis, name) native "CSSStyleDeclaration___getter___Callback_RESOLVER_STRING_1_DOMString";
Leaf 2014/08/05 23:52:52 I may have lost track of the plot here - but I did
Emily Fortuna 2014/08/06 00:32:26 Query is part of the getters. That's how it's expo
+
static $__setter___Callback(mthis, propertyName, propertyValue) native "CSSStyleDeclaration___setter___Callback";
static $getPropertyPriority_Callback(mthis, propertyName) native "CSSStyleDeclaration_getPropertyPriority_Callback_RESOLVER_STRING_1_DOMString";
@@ -2169,8 +2171,6 @@ class BlinkFileReader {
static $readyState_Getter(mthis) native "FileReader_readyState_Getter";
- static $result_Getter(mthis) native "FileReader_result_Getter";
-
Leaf 2014/08/05 23:52:52 This will break if checked in - not a problem with
static $abort_Callback(mthis) native "FileReader_abort_Callback_RESOLVER_STRING_0_";
static $readAsArrayBuffer_Callback(mthis, blob) native "FileReader_readAsArrayBuffer_Callback_RESOLVER_STRING_1_Blob";
@@ -2920,7 +2920,9 @@ class BlinkHTMLFieldSetElement {
class BlinkHTMLFontElement {}
-class BlinkHTMLFormControlsCollection {}
+class BlinkHTMLFormControlsCollection {
+ static $namedItem_Callback(mthis, name) native "HTMLFormControlsCollection_namedItem_Callback_RESOLVER_STRING_1_DOMString";
Leaf 2014/08/05 23:52:52 Why is this showing up here - this doesn't seem re
Emily Fortuna 2014/08/06 00:32:26 It is related because these members also have unio
+}
class BlinkHTMLFormElement {
static $acceptCharset_Getter(mthis) native "HTMLFormElement_acceptCharset_Getter";
@@ -2961,7 +2963,20 @@ class BlinkHTMLFormElement {
static $target_Setter(mthis, value) native "HTMLFormElement_target_Setter";
- static $__getter___Callback(mthis, index) native "HTMLFormElement___getter___Callback_RESOLVER_STRING_1_unsigned long";
+ // Generated overload resolver
+ static $__getter__(mthis, index_OR_name) {
+ if ((index_OR_name is int || index_OR_name == null)) {
+ return $___getter___1_Callback(mthis, index_OR_name);
+ }
+ if ((index_OR_name is String || index_OR_name == null)) {
+ return $___getter___2_Callback(mthis, index_OR_name);
+ }
+ throw new ArgumentError("Incorrect number or type of arguments");
+ }
+
+ static $___getter___1_Callback(mthis, index_OR_name) native "HTMLFormElement___getter___Callback_RESOLVER_STRING_1_unsigned long";
+
+ static $___getter___2_Callback(mthis, index_OR_name) native "HTMLFormElement___getter___Callback_RESOLVER_STRING_1_DOMString";
static $checkValidity_Callback(mthis) native "HTMLFormElement_checkValidity_Callback_RESOLVER_STRING_0_";
@@ -8034,6 +8049,8 @@ class BlinkTiming {
static $playbackRate_Setter(mthis, value) native "Timing_playbackRate_Setter";
+ static $__getter___Callback(mthis, name) native "Timing___getter___Callback_RESOLVER_STRING_1_DOMString";
+
static $__setter___Callback(mthis, name, duration) native "Timing___setter___Callback_RESOLVER_STRING_2_DOMString_double";
}
« no previous file with comments | « no previous file | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | sdk/lib/html/dartium/html_dartium.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698