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

Unified Diff: tools/dom/scripts/systemnative.py

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
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index 1a7571fdd7d521bf18675f91026f811e244ba242..faec21567393a7dd955cdd9f74563dc57797b52a 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -379,6 +379,9 @@ def DeriveBlinkClassName(name):
return "Blink" + name
def DeriveResolverString(interface_id, operation_id, native_suffix, type_ids, database, is_custom):
+ if interface_id == 'CSSStyleDeclaration' and operation_id == '__getter__':
+ # Dirty hack to be more nicely implemented with new generator scripts.
+ return "CSSStyleDeclaration___getter___Callback_RESOLVER_STRING_1_DOMString"
Leaf 2014/08/06 17:53:49 Is it possible to use the pre-existing dirty-hack
type_string = \
"_".join(map(lambda type_id : TypeIdToBlinkName(type_id, database), type_ids))
if native_suffix:

Powered by Google App Engine
This is Rietveld 408576698