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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp

Issue 2749253002: bindings: Expand typedefs before generating union files. (Closed)
Patch Set: Created 3 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
Index: third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
index 75e4953184ce4800cc1322d707bd61cf38b85a53..e8357a8e2e7f1a816befcd4e0ad4c5691e045af8 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
@@ -11,8 +11,6 @@
// clang-format off
#include "TestDictionary.h"
-#include "bindings/core/v8/DoubleOrString.h"
-#include "bindings/core/v8/TestInterface2OrUint8Array.h"
#include "bindings/tests/idls/core/TestInterfaceGarbageCollected.h"
#include "bindings/tests/idls/core/TestInterfaceImplementation.h"
#include "bindings/tests/idls/core/TestObject.h"
@@ -397,6 +395,15 @@ DOMUint8Array* TestDictionary::uint8ArrayMember() const {
void TestDictionary::setUint8ArrayMember(DOMUint8Array* value) {
m_uint8ArrayMember = value;
}
+bool TestDictionary::hasUnionWithTypedefs() const {
+ return !m_unionWithTypedefs.isNull();
+}
+const FloatOrBoolean& TestDictionary::unionWithTypedefs() const {
+ return m_unionWithTypedefs;
+}
+void TestDictionary::setUnionWithTypedefs(const FloatOrBoolean& value) {
+ m_unionWithTypedefs = value;
+}
bool TestDictionary::hasUnrestrictedDoubleMember() const {
return m_hasUnrestrictedDoubleMember;
}
@@ -426,6 +433,7 @@ DEFINE_TRACE(TestDictionary) {
visitor->trace(m_testInterfaceSequenceMember);
visitor->trace(m_testObjectSequenceMember);
visitor->trace(m_uint8ArrayMember);
+ visitor->trace(m_unionWithTypedefs);
IDLDictionaryBase::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698