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

Unified Diff: Source/bindings/scripts/v8_dictionary.py

Issue 724733002: Support for [Clamp] and [EnforceRange] to IDL dictionary. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt ('k') | Source/bindings/scripts/v8_types.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/v8_dictionary.py
diff --git a/Source/bindings/scripts/v8_dictionary.py b/Source/bindings/scripts/v8_dictionary.py
index 25a0f0dcbc85170dcc203f571727ac0ed8cb3438..620cba10d40dbda7cb1714c571efff4496ba2556 100644
--- a/Source/bindings/scripts/v8_dictionary.py
+++ b/Source/bindings/scripts/v8_dictionary.py
@@ -20,8 +20,6 @@ DICTIONARY_H_INCLUDES = frozenset([
DICTIONARY_CPP_INCLUDES = frozenset([
'bindings/core/v8/ExceptionState.h',
- # FIXME: Remove this, http://crbug.com/321462
- 'bindings/core/v8/Dictionary.h',
])
@@ -99,6 +97,9 @@ def member_context(member):
'name': member.name,
'setter_name': setter_name_for_dictionary_member(member),
'v8_default_value': v8_default_value,
+ 'v8_value_to_local_cpp_value': idl_type.v8_value_to_local_cpp_value(
+ member.extended_attributes, member.name + 'Value',
+ member.name, isolate='isolate'),
}
« no previous file with comments | « LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt ('k') | Source/bindings/scripts/v8_types.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698