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

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/scripts/interface_dependency_resolver.py » ('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 eb9fee185fe6316c609076e32a318c55a9ab0760..b673f033d8557014fe30917cb7002c01ec519242 100644
--- a/Source/bindings/scripts/idl_definitions.py
+++ b/Source/bindings/scripts/idl_definitions.py
@@ -148,6 +148,10 @@ class IdlDefinitions(object):
for interface in self.interfaces.itervalues():
interface.resolve_typedefs(typedefs)
+ def merge(self, other):
Nils Barth (inactive) 2014/03/20 01:01:46 This is a useful method! Could you: 1. Move the at
Nils Barth (inactive) 2014/03/20 02:11:11 This method is a great idea, so I've implemented i
+ self.callback_functions.update(other.callback_functions)
+ self.enumerations.update(other.enumerations)
+
################################################################################
# Callback Functions
« no previous file with comments | « no previous file | Source/bindings/scripts/interface_dependency_resolver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698