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

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

Issue 203193015: Bindings: inherit enums and callbacks from partial interface files. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 | « no previous file | Source/bindings/tests/idls/TestPartialInterfacePython.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/idl_definitions.py
diff --git a/Source/bindings/scripts/idl_definitions.py b/Source/bindings/scripts/idl_definitions.py
index b11a038572b6666e0b94d3d7c55db2455c5acbc7..f634772be05f604e3a8aeda7d65e276fd7c53f63 100644
--- a/Source/bindings/scripts/idl_definitions.py
+++ b/Source/bindings/scripts/idl_definitions.py
@@ -164,6 +164,10 @@ class IdlDefinitions(object):
'but no existing interface by that name'
.format(interface_name))
+ # Merge callbacks and enumerations
+ self.enumerations.update(other.enumerations)
+ self.callback_functions.update(other.callback_functions)
+
################################################################################
# Callback Functions
« no previous file with comments | « no previous file | Source/bindings/tests/idls/TestPartialInterfacePython.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698