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

Unified Diff: Source/bindings/tests/idls/TestPartialInterfacePython.idl

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 | « Source/bindings/scripts/idl_definitions.py ('k') | Source/bindings/tests/results/V8TestInterfacePython.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestPartialInterfacePython.idl
diff --git a/Source/bindings/tests/idls/TestPartialInterfacePython.idl b/Source/bindings/tests/idls/TestPartialInterfacePython.idl
index 0233b047522d55d3142ab1a9a89fb8ff7ba5bf94..823eecd265b16647abb9529a9ab6f820f9396567 100644
--- a/Source/bindings/tests/idls/TestPartialInterfacePython.idl
+++ b/Source/bindings/tests/idls/TestPartialInterfacePython.idl
@@ -28,6 +28,15 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+enum PartialEnumType {
+ "foo",
+ "bar"
+};
+
+typedef DOMString String;
+
+callback PartialCallbackType = void (String value);
+
[
Conditional=PARTIAL_CONDITION,
RuntimeEnabled=PartialFeatureName,
@@ -42,4 +51,7 @@
static void partialStaticVoidMethod();
void partialVoidMethodLongArg(long longArg);
[CallWith=ExecutionContext, RaisesException] void partialCallWithExecutionContextRaisesExceptionVoidMethod();
+
+ attribute PartialEnumType enumAttribute;
+ void methodThatTakesCallback(PartialCallbackType callback);
};
« no previous file with comments | « Source/bindings/scripts/idl_definitions.py ('k') | Source/bindings/tests/results/V8TestInterfacePython.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698