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

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

Issue 2458913003: Add first sketch of the webmodules code generator. (Closed)
Patch Set: Rebased. Created 4 years, 2 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/CppTestInterface.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/CppTestInterface.cpp b/third_party/WebKit/Source/bindings/tests/results/core/CppTestInterface.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..8fbafcd7bfa33adc4feb08c50693307b70bc6524
--- /dev/null
+++ b/third_party/WebKit/Source/bindings/tests/results/core/CppTestInterface.cpp
@@ -0,0 +1,150 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file has been auto-generated by code_generator_cpp.py. DO NOT MODIFY!
+
+// clang-format off
+
+#include "CppTestInterface.h"
+
+// TODO(dglazkov): Implement generating includes.
+
+namespace blink {
+namespace api {
+
+// TODO(dglazkov): Implement constant generation
+// UNSIGNED_LONG
+// CONST_JAVASCRIPT
+// IMPLEMENTS_CONSTANT_1
+// IMPLEMENTS_CONSTANT_2
+// PARTIAL_UNSIGNED_SHORT
+// PARTIAL_DOUBLE
+// PARTIAL2_UNSIGNED_SHORT
+
+// TODO(dglazkov): Implement constructor generation
+
+// TODO(dglazkov): Implement attribute getter/setter generation
+// testInterfaceAttribute
+// testInterfaceConstructorAttribute
+// TestInterface
+// TestInterface2
+// doubleAttribute
+// floatAttribute
+// unrestrictedDoubleAttribute
+// unrestrictedFloatAttribute
+// testEnumAttribute
+// stringOrDoubleAttribute
+// conditionalLongAttribute
+// conditionalReadOnlyLongAttribute
+// staticStringAttribute
+// staticReturnDOMWrapperAttribute
+// staticReadOnlyStringAttribute
+// staticReadOnlyReturnDOMWrapperAttribute
+// staticConditionalReadOnlyLongAttribute
+// legacyInterfaceTypeCheckingAttribute
+// alwaysExposedAttribute
+// workerExposedAttribute
+// windowExposedAttribute
+// lenientThisAttribute
+// secureContextAttribute
+// secureContextRuntimeEnabledAttribute
+// secureContextWindowExposedAttribute
+// secureContextWorkerExposedAttribute
+// secureContextWindowExposedRuntimeEnabledAttribute
+// secureContextWorkerExposedRuntimeEnabledAttribute
+// implementsStaticReadOnlyLongAttribute
+// implementsStaticStringAttribute
+// implementsReadonlyStringAttribute
+// implementsStringAttribute
+// implementsNodeAttribute
+// implementsEventHandlerAttribute
+// implementsRuntimeEnabledNodeAttribute
+// implements2StaticStringAttribute
+// implements2StringAttribute
+// implements3StringAttribute
+// implements3StaticStringAttribute
+// partialLongAttribute
+// partialStaticLongAttribute
+// partialCallWithExecutionContextLongAttribute
+// partialPartialEnumTypeAttribute
+// stringAttribute
+// partial2LongAttribute
+// partial2StaticLongAttribute
+// partial2SecureContextAttribute
+// partialSecureContextAttribute
+// partialSecureContextRuntimeEnabledAttribute
+// partialSecureContextWindowExposedAttribute
+// partialSecureContextWorkerExposedAttribute
+// partialSecureContextWindowExposedRuntimeEnabledAttribute
+// partialSecureContextWorkerExposedRuntimeEnabledAttribute
+
+// TODO(dglazkov): Implement method generation
+// void CppTestInterface::voidMethodTestInterfaceEmptyArg
+// void CppTestInterface::voidMethodDoubleArgFloatArg
+// void CppTestInterface::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg
+// void CppTestInterface::voidMethodTestEnumArg
+// void CppTestInterface::voidMethod
+// void CppTestInterface::alwaysExposedMethod
+// void CppTestInterface::workerExposedMethod
+// void CppTestInterface::windowExposedMethod
+// void CppTestInterface::alwaysExposedStaticMethod
+// void CppTestInterface::workerExposedStaticMethod
+// void CppTestInterface::windowExposedStaticMethod
+// TestInterfaceImplementation* CppTestInterface::staticReturnDOMWrapperMethod
+// void CppTestInterface::methodWithExposedAndRuntimeEnabledFlag
+// void CppTestInterface::overloadMethodWithExposedAndRuntimeEnabledFlag
+// void CppTestInterface::overloadMethodWithExposedAndRuntimeEnabledFlag
+// void CppTestInterface::overloadMethodWithExposedAndRuntimeEnabledFlag
+// void CppTestInterface::methodWithExposedHavingRuntimeEnabldFlag
+// void CppTestInterface::windowAndServiceWorkerExposedMethod
+// void CppTestInterface::voidMethodPartialOverload
+// void CppTestInterface::voidMethodPartialOverload
+// void CppTestInterface::staticVoidMethodPartialOverload
+// ScriptPromise CppTestInterface::promiseMethodPartialOverload
+// ScriptPromise CppTestInterface::promiseMethodPartialOverload
+// ScriptPromise CppTestInterface::staticPromiseMethodPartialOverload
+// void CppTestInterface::legacyInterfaceTypeCheckingMethod
+// void CppTestInterface::secureContextMethod
+// void CppTestInterface::secureContextRuntimeEnabledMethod
+// void CppTestInterface::secureContextWindowExposedMethod
+// void CppTestInterface::secureContextWorkerExposedMethod
+// void CppTestInterface::secureContextWindowExposedRuntimeEnabledMethod
+// void CppTestInterface::secureContextWorkerExposedRuntimeEnabledMethod
+// void CppTestInterface::implementsVoidMethod
+// TestInterfaceEmpty* CppTestInterface::implementsComplexMethod
+// void CppTestInterface::implementsCustomVoidMethod
+// void CppTestInterface::implementsStaticVoidMethod
+// void CppTestInterface::implements2VoidMethod
+// void CppTestInterface::implements3VoidMethod
+// void CppTestInterface::implements3StaticVoidMethod
+// void CppTestInterface::partialVoidMethod
+// void CppTestInterface::partialStaticVoidMethod
+// void CppTestInterface::partialVoidMethodLongArg
+// void CppTestInterface::partialCallWithExecutionContextRaisesExceptionVoidMethod
+// void CppTestInterface::partialVoidMethodPartialCallbackTypeArg
+// int CppTestInterface::shortMethodWithShortArgumentImplementedInPrivateScript
+// void CppTestInterface::partial2VoidMethod
+// void CppTestInterface::partial2StaticVoidMethod
+// void CppTestInterface::partial2SecureContextMethod
+// void CppTestInterface::partialSecureContextMethod
+// void CppTestInterface::partialSecureContextRuntimeEnabledMethod
+// void CppTestInterface::partialSecureContextWindowExposedMethod
+// void CppTestInterface::partialSecureContextWorkerExposedMethod
+// void CppTestInterface::partialSecureContextWindowExposedRuntimeEnabledMethod
+// void CppTestInterface::partialSecureContextWorkerExposedRuntimeEnabledMethod
+// void CppTestInterface::voidMethodPartialOverload
+// void CppTestInterface::staticVoidMethodPartialOverload
+// ScriptPromise CppTestInterface::promiseMethodPartialOverload
+// ScriptPromise CppTestInterface::staticPromiseMethodPartialOverload
+// void CppTestInterface::partial2VoidMethod
+// void CppTestInterface::partial2VoidMethod
+// void CppTestInterface::partialVoidTestEnumModulesArgMethod
+// void CppTestInterface::partial2StaticVoidMethod
+// void CppTestInterface::unscopableVoidMethod
+// void CppTestInterface::partial4VoidMethod
+// void CppTestInterface::partial4StaticVoidMethod
+// ScriptValue CppTestInterface::toJSON
+// String CppTestInterface::toString
+}
+}

Powered by Google App Engine
This is Rietveld 408576698