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

Unified Diff: third_party/WebKit/Source/bindings/scripts/v8_dictionary.py

Issue 2183623004: Add IDLDictionaryBase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix multi-level inheritance bug Created 4 years, 5 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
Index: third_party/WebKit/Source/bindings/scripts/v8_dictionary.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_dictionary.py b/third_party/WebKit/Source/bindings/scripts/v8_dictionary.py
index 3db6a3b0a0f8c3a40736ba09c6b3a771de293e46..e2ff61bccbfaabdd148855e804d071fc6dd3a75b 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_dictionary.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_dictionary.py
@@ -173,6 +173,10 @@ def dictionary_impl_context(dictionary, interfaces_info):
if parent_interface_info:
context['header_includes'].add(
parent_interface_info['include_path'])
+ else:
+ context['parent_cpp_class'] = 'IDLDictionaryBase'
+ context['header_includes'].add(
+ 'bindings/core/v8/IDLDictionaryBase.h')
return context

Powered by Google App Engine
This is Rietveld 408576698