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

Unified Diff: bindings/dart/scripts/dart_attributes.py

Issue 551053003: Roll IDL Dartium37 (r181477) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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
« no previous file with comments | « bindings/README ('k') | bindings/dart/scripts/dart_interface.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bindings/dart/scripts/dart_attributes.py
diff --git a/bindings/dart/scripts/dart_attributes.py b/bindings/dart/scripts/dart_attributes.py
index 6e295ca0c83fca0ddf5379fa5b31438e6f7e02b7..24c9fa32a5cf5f5da051767cb7180602d7dd7baf 100644
--- a/bindings/dart/scripts/dart_attributes.py
+++ b/bindings/dart/scripts/dart_attributes.py
@@ -160,6 +160,19 @@ def generate_attribute(interface, attribute):
if (not attribute.is_read_only):
generate_setter(interface, attribute, contents)
+ native_entry_getter = \
+ DartUtilities.generate_native_entry(interface.name, contents,
+ attribute.name, 'Getter',
+ None, [], None)
+ native_entry_setter = \
+ DartUtilities.generate_native_entry(interface.name, contents,
+ attribute.name, 'Setter',
+ None, ["value"], None)
+ contents.update({
+ 'native_entry_getter': native_entry_getter,
+ 'native_entry_setter': native_entry_setter,
+ })
+
return contents
« no previous file with comments | « bindings/README ('k') | bindings/dart/scripts/dart_interface.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698