| OLD | NEW |
| 1 # Copyright (C) 2013 Google Inc. All rights reserved. | 1 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 193 |
| 194 | 194 |
| 195 # [CallWith] | 195 # [CallWith] |
| 196 CALL_WITH_ARGUMENTS = { | 196 CALL_WITH_ARGUMENTS = { |
| 197 'ScriptState': 'scriptState', | 197 'ScriptState': 'scriptState', |
| 198 'ExecutionContext': 'executionContext', | 198 'ExecutionContext': 'executionContext', |
| 199 'ScriptArguments': 'scriptArguments', | 199 'ScriptArguments': 'scriptArguments', |
| 200 'CurrentWindow': 'currentDOMWindow(info.GetIsolate())', | 200 'CurrentWindow': 'currentDOMWindow(info.GetIsolate())', |
| 201 'EnteredWindow': 'enteredDOMWindow(info.GetIsolate())', | 201 'EnteredWindow': 'enteredDOMWindow(info.GetIsolate())', |
| 202 'Document': 'document', | 202 'Document': 'document', |
| 203 'ThisValue': 'ScriptValue(scriptState, info.This())', | 203 'ThisValue': 'ScriptValue(scriptState, info.Holder())', |
| 204 } | 204 } |
| 205 # List because key order matters, as we want arguments in deterministic order | 205 # List because key order matters, as we want arguments in deterministic order |
| 206 CALL_WITH_VALUES = [ | 206 CALL_WITH_VALUES = [ |
| 207 'ScriptState', | 207 'ScriptState', |
| 208 'ExecutionContext', | 208 'ExecutionContext', |
| 209 'ScriptArguments', | 209 'ScriptArguments', |
| 210 'CurrentWindow', | 210 'CurrentWindow', |
| 211 'EnteredWindow', | 211 'EnteredWindow', |
| 212 'Document', | 212 'Document', |
| 213 'ThisValue', | 213 'ThisValue', |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 except StopIteration: | 619 except StopIteration: |
| 620 return None | 620 return None |
| 621 | 621 |
| 622 | 622 |
| 623 IdlInterface.indexed_property_getter = property(indexed_property_getter) | 623 IdlInterface.indexed_property_getter = property(indexed_property_getter) |
| 624 IdlInterface.indexed_property_setter = property(indexed_property_setter) | 624 IdlInterface.indexed_property_setter = property(indexed_property_setter) |
| 625 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) | 625 IdlInterface.indexed_property_deleter = property(indexed_property_deleter) |
| 626 IdlInterface.named_property_getter = property(named_property_getter) | 626 IdlInterface.named_property_getter = property(named_property_getter) |
| 627 IdlInterface.named_property_setter = property(named_property_setter) | 627 IdlInterface.named_property_setter = property(named_property_setter) |
| 628 IdlInterface.named_property_deleter = property(named_property_deleter) | 628 IdlInterface.named_property_deleter = property(named_property_deleter) |
| OLD | NEW |