Chromium Code Reviews| Index: Source/bindings/scripts/unstable/v8_methods.py |
| diff --git a/Source/bindings/scripts/unstable/v8_methods.py b/Source/bindings/scripts/unstable/v8_methods.py |
| index 3c73d7857ea581cffa25d71918e3bd73598fc5ff..a20d28938ecd3693a623a86f8ecaa5ed530de7ad 100644 |
| --- a/Source/bindings/scripts/unstable/v8_methods.py |
| +++ b/Source/bindings/scripts/unstable/v8_methods.py |
| @@ -59,6 +59,7 @@ def generate_method(method): |
| def generate_argument(method, argument, index): |
| + extended_attributes = argument.extended_attributes |
|
Nils Barth (inactive)
2013/10/31 03:22:44
We're going to be using this for the rest of the e
|
| idl_type = argument.idl_type |
| return { |
| 'cpp_method': cpp_method(method, index), |
| @@ -66,6 +67,7 @@ def generate_argument(method, argument, index): |
| 'enum_validation_expression': v8_utilities.enum_validation_expression(idl_type), |
| 'idl_type': argument.idl_type, |
| 'index': index, |
| + 'is_clamp': 'Clamp' in extended_attributes, |
| 'is_optional': argument.is_optional, |
| 'is_variadic_wrapper_type': argument.is_variadic and v8_types.is_wrapper_type(idl_type), |
| 'name': argument.name, |