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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /** 1 /**
2 * This library provides entry points to the native Blink code which backs 2 * This library provides entry points to the native Blink code which backs
3 * up the dart:html library. 3 * up the dart:html library.
4 */ 4 */
5 library dart.dom._blink; 5 library dart.dom._blink;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:html'; 9 import 'dart:html';
10 import 'dart:_internal' hide Symbol, deprecated; 10 import 'dart:_internal' hide Symbol, deprecated;
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 704
705 class BlinkCSSStyleDeclaration { 705 class BlinkCSSStyleDeclaration {
706 static $cssText_Getter(mthis) native "CSSStyleDeclaration_cssText_Getter"; 706 static $cssText_Getter(mthis) native "CSSStyleDeclaration_cssText_Getter";
707 707
708 static $cssText_Setter(mthis, value) native "CSSStyleDeclaration_cssText_Sette r"; 708 static $cssText_Setter(mthis, value) native "CSSStyleDeclaration_cssText_Sette r";
709 709
710 static $length_Getter(mthis) native "CSSStyleDeclaration_length_Getter"; 710 static $length_Getter(mthis) native "CSSStyleDeclaration_length_Getter";
711 711
712 static $parentRule_Getter(mthis) native "CSSStyleDeclaration_parentRule_Getter "; 712 static $parentRule_Getter(mthis) native "CSSStyleDeclaration_parentRule_Getter ";
713 713
714 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
715
714 static $__setter___Callback(mthis, propertyName, propertyValue) native "CSSSty leDeclaration___setter___Callback"; 716 static $__setter___Callback(mthis, propertyName, propertyValue) native "CSSSty leDeclaration___setter___Callback";
715 717
716 static $getPropertyPriority_Callback(mthis, propertyName) native "CSSStyleDecl aration_getPropertyPriority_Callback_RESOLVER_STRING_1_DOMString"; 718 static $getPropertyPriority_Callback(mthis, propertyName) native "CSSStyleDecl aration_getPropertyPriority_Callback_RESOLVER_STRING_1_DOMString";
717 719
718 static $getPropertyValue_Callback(mthis, propertyName) native "CSSStyleDeclara tion_getPropertyValue_Callback_RESOLVER_STRING_1_DOMString"; 720 static $getPropertyValue_Callback(mthis, propertyName) native "CSSStyleDeclara tion_getPropertyValue_Callback_RESOLVER_STRING_1_DOMString";
719 721
720 static $item_Callback(mthis, index) native "CSSStyleDeclaration_item_Callback_ RESOLVER_STRING_1_unsigned long"; 722 static $item_Callback(mthis, index) native "CSSStyleDeclaration_item_Callback_ RESOLVER_STRING_1_unsigned long";
721 723
722 static $removeProperty_Callback(mthis, propertyName) native "CSSStyleDeclarati on_removeProperty_Callback_RESOLVER_STRING_1_DOMString"; 724 static $removeProperty_Callback(mthis, propertyName) native "CSSStyleDeclarati on_removeProperty_Callback_RESOLVER_STRING_1_DOMString";
723 725
(...skipping 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after
2162 static $mkFileReader() { 2164 static $mkFileReader() {
2163 return $_create_1constructorCallback(); 2165 return $_create_1constructorCallback();
2164 } 2166 }
2165 2167
2166 static $_create_1constructorCallback() native "FileReader_constructorCallback_ RESOLVER_STRING_0_"; 2168 static $_create_1constructorCallback() native "FileReader_constructorCallback_ RESOLVER_STRING_0_";
2167 2169
2168 static $error_Getter(mthis) native "FileReader_error_Getter"; 2170 static $error_Getter(mthis) native "FileReader_error_Getter";
2169 2171
2170 static $readyState_Getter(mthis) native "FileReader_readyState_Getter"; 2172 static $readyState_Getter(mthis) native "FileReader_readyState_Getter";
2171 2173
2172 static $result_Getter(mthis) native "FileReader_result_Getter";
2173
Leaf 2014/08/05 23:52:52 This will break if checked in - not a problem with
2174 static $abort_Callback(mthis) native "FileReader_abort_Callback_RESOLVER_STRIN G_0_"; 2174 static $abort_Callback(mthis) native "FileReader_abort_Callback_RESOLVER_STRIN G_0_";
2175 2175
2176 static $readAsArrayBuffer_Callback(mthis, blob) native "FileReader_readAsArray Buffer_Callback_RESOLVER_STRING_1_Blob"; 2176 static $readAsArrayBuffer_Callback(mthis, blob) native "FileReader_readAsArray Buffer_Callback_RESOLVER_STRING_1_Blob";
2177 2177
2178 static $readAsDataURL_Callback(mthis, blob) native "FileReader_readAsDataURL_C allback_RESOLVER_STRING_1_Blob"; 2178 static $readAsDataURL_Callback(mthis, blob) native "FileReader_readAsDataURL_C allback_RESOLVER_STRING_1_Blob";
2179 2179
2180 // Generated overload resolver 2180 // Generated overload resolver
2181 static $readAsText(mthis, blob, encoding) { 2181 static $readAsText(mthis, blob, encoding) {
2182 if (encoding != null) { 2182 if (encoding != null) {
2183 $_readAsText_1_Callback(mthis, blob, encoding); 2183 $_readAsText_1_Callback(mthis, blob, encoding);
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
2913 2913
2914 static $willValidate_Getter(mthis) native "HTMLFieldSetElement_willValidate_Ge tter"; 2914 static $willValidate_Getter(mthis) native "HTMLFieldSetElement_willValidate_Ge tter";
2915 2915
2916 static $checkValidity_Callback(mthis) native "HTMLFieldSetElement_checkValidit y_Callback_RESOLVER_STRING_0_"; 2916 static $checkValidity_Callback(mthis) native "HTMLFieldSetElement_checkValidit y_Callback_RESOLVER_STRING_0_";
2917 2917
2918 static $setCustomValidity_Callback(mthis, error) native "HTMLFieldSetElement_s etCustomValidity_Callback_RESOLVER_STRING_1_DOMString"; 2918 static $setCustomValidity_Callback(mthis, error) native "HTMLFieldSetElement_s etCustomValidity_Callback_RESOLVER_STRING_1_DOMString";
2919 } 2919 }
2920 2920
2921 class BlinkHTMLFontElement {} 2921 class BlinkHTMLFontElement {}
2922 2922
2923 class BlinkHTMLFormControlsCollection {} 2923 class BlinkHTMLFormControlsCollection {
2924 static $namedItem_Callback(mthis, name) native "HTMLFormControlsCollection_nam edItem_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
2925 }
2924 2926
2925 class BlinkHTMLFormElement { 2927 class BlinkHTMLFormElement {
2926 static $acceptCharset_Getter(mthis) native "HTMLFormElement_acceptCharset_Gett er"; 2928 static $acceptCharset_Getter(mthis) native "HTMLFormElement_acceptCharset_Gett er";
2927 2929
2928 static $acceptCharset_Setter(mthis, value) native "HTMLFormElement_acceptChars et_Setter"; 2930 static $acceptCharset_Setter(mthis, value) native "HTMLFormElement_acceptChars et_Setter";
2929 2931
2930 static $action_Getter(mthis) native "HTMLFormElement_action_Getter"; 2932 static $action_Getter(mthis) native "HTMLFormElement_action_Getter";
2931 2933
2932 static $action_Setter(mthis, value) native "HTMLFormElement_action_Setter"; 2934 static $action_Setter(mthis, value) native "HTMLFormElement_action_Setter";
2933 2935
(...skipping 20 matching lines...) Expand all
2954 static $name_Setter(mthis, value) native "HTMLFormElement_name_Setter"; 2956 static $name_Setter(mthis, value) native "HTMLFormElement_name_Setter";
2955 2957
2956 static $noValidate_Getter(mthis) native "HTMLFormElement_noValidate_Getter"; 2958 static $noValidate_Getter(mthis) native "HTMLFormElement_noValidate_Getter";
2957 2959
2958 static $noValidate_Setter(mthis, value) native "HTMLFormElement_noValidate_Set ter"; 2960 static $noValidate_Setter(mthis, value) native "HTMLFormElement_noValidate_Set ter";
2959 2961
2960 static $target_Getter(mthis) native "HTMLFormElement_target_Getter"; 2962 static $target_Getter(mthis) native "HTMLFormElement_target_Getter";
2961 2963
2962 static $target_Setter(mthis, value) native "HTMLFormElement_target_Setter"; 2964 static $target_Setter(mthis, value) native "HTMLFormElement_target_Setter";
2963 2965
2964 static $__getter___Callback(mthis, index) native "HTMLFormElement___getter___C allback_RESOLVER_STRING_1_unsigned long"; 2966 // Generated overload resolver
2967 static $__getter__(mthis, index_OR_name) {
2968 if ((index_OR_name is int || index_OR_name == null)) {
2969 return $___getter___1_Callback(mthis, index_OR_name);
2970 }
2971 if ((index_OR_name is String || index_OR_name == null)) {
2972 return $___getter___2_Callback(mthis, index_OR_name);
2973 }
2974 throw new ArgumentError("Incorrect number or type of arguments");
2975 }
2976
2977 static $___getter___1_Callback(mthis, index_OR_name) native "HTMLFormElement__ _getter___Callback_RESOLVER_STRING_1_unsigned long";
2978
2979 static $___getter___2_Callback(mthis, index_OR_name) native "HTMLFormElement__ _getter___Callback_RESOLVER_STRING_1_DOMString";
2965 2980
2966 static $checkValidity_Callback(mthis) native "HTMLFormElement_checkValidity_Ca llback_RESOLVER_STRING_0_"; 2981 static $checkValidity_Callback(mthis) native "HTMLFormElement_checkValidity_Ca llback_RESOLVER_STRING_0_";
2967 2982
2968 static $requestAutocomplete_Callback(mthis, details) native "HTMLFormElement_r equestAutocomplete_Callback_RESOLVER_STRING_1_Dictionary"; 2983 static $requestAutocomplete_Callback(mthis, details) native "HTMLFormElement_r equestAutocomplete_Callback_RESOLVER_STRING_1_Dictionary";
2969 2984
2970 static $reset_Callback(mthis) native "HTMLFormElement_reset_Callback_RESOLVER_ STRING_0_"; 2985 static $reset_Callback(mthis) native "HTMLFormElement_reset_Callback_RESOLVER_ STRING_0_";
2971 2986
2972 static $submit_Callback(mthis) native "HTMLFormElement_submit_Callback_RESOLVE R_STRING_0_"; 2987 static $submit_Callback(mthis) native "HTMLFormElement_submit_Callback_RESOLVE R_STRING_0_";
2973 } 2988 }
2974 2989
(...skipping 5052 matching lines...) Expand 10 before | Expand all | Expand 10 after
8027 static $iterationStart_Setter(mthis, value) native "Timing_iterationStart_Sett er"; 8042 static $iterationStart_Setter(mthis, value) native "Timing_iterationStart_Sett er";
8028 8043
8029 static $iterations_Getter(mthis) native "Timing_iterations_Getter"; 8044 static $iterations_Getter(mthis) native "Timing_iterations_Getter";
8030 8045
8031 static $iterations_Setter(mthis, value) native "Timing_iterations_Setter"; 8046 static $iterations_Setter(mthis, value) native "Timing_iterations_Setter";
8032 8047
8033 static $playbackRate_Getter(mthis) native "Timing_playbackRate_Getter"; 8048 static $playbackRate_Getter(mthis) native "Timing_playbackRate_Getter";
8034 8049
8035 static $playbackRate_Setter(mthis, value) native "Timing_playbackRate_Setter"; 8050 static $playbackRate_Setter(mthis, value) native "Timing_playbackRate_Setter";
8036 8051
8052 static $__getter___Callback(mthis, name) native "Timing___getter___Callback_RE SOLVER_STRING_1_DOMString";
8053
8037 static $__setter___Callback(mthis, name, duration) native "Timing___setter___C allback_RESOLVER_STRING_2_DOMString_double"; 8054 static $__setter___Callback(mthis, name, duration) native "Timing___setter___C allback_RESOLVER_STRING_2_DOMString_double";
8038 } 8055 }
8039 8056
8040 class BlinkTouch { 8057 class BlinkTouch {
8041 static $clientX_Getter(mthis) native "Touch_clientX_Getter"; 8058 static $clientX_Getter(mthis) native "Touch_clientX_Getter";
8042 8059
8043 static $clientY_Getter(mthis) native "Touch_clientY_Getter"; 8060 static $clientY_Getter(mthis) native "Touch_clientY_Getter";
8044 8061
8045 static $identifier_Getter(mthis) native "Touch_identifier_Getter"; 8062 static $identifier_Getter(mthis) native "Touch_identifier_Getter";
8046 8063
(...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after
9503 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba ck"; 9520 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba ck";
9504 9521
9505 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback"; 9522 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback";
9506 9523
9507 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac k"; 9524 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac k";
9508 9525
9509 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback"; 9526 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback";
9510 9527
9511 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback"; 9528 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback";
9512 } 9529 }
OLDNEW
« 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