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

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

Issue 217053007: Revert of Make DOMWrapperWorld::current() return a reference instead of a pointer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert 213543004 too 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
Index: Source/bindings/tests/idls/TestPartialInterfacePython.idl
diff --git a/Source/bindings/tests/idls/TestPartialInterface.idl b/Source/bindings/tests/idls/TestPartialInterfacePython.idl
similarity index 88%
copy from Source/bindings/tests/idls/TestPartialInterface.idl
copy to Source/bindings/tests/idls/TestPartialInterfacePython.idl
index c8b0ddcefe0c3b635ba1b779e2c553c0cb4d96f1..823eecd265b16647abb9529a9ab6f820f9396567 100644
--- a/Source/bindings/tests/idls/TestPartialInterface.idl
+++ b/Source/bindings/tests/idls/TestPartialInterfacePython.idl
@@ -33,13 +33,14 @@ enum PartialEnumType {
"bar"
};
-typedef DOMString PartialString;
+typedef DOMString String;
+
+callback PartialCallbackType = void (String value);
-callback PartialCallbackType = void (PartialString value);
[
Conditional=PARTIAL_CONDITION,
RuntimeEnabled=PartialFeatureName,
-] partial interface TestInterface {
+] partial interface TestInterfacePython {
const unsigned short PARTIAL_UNSIGNED_SHORT = 0;
attribute long partialLongAttribute;
@@ -51,6 +52,6 @@ callback PartialCallbackType = void (PartialString value);
void partialVoidMethodLongArg(long longArg);
[CallWith=ExecutionContext, RaisesException] void partialCallWithExecutionContextRaisesExceptionVoidMethod();
- attribute PartialEnumType partialPartialEnumTypeAttribute;
- void partialVoidMethodPartialCallbackTypeArg(PartialCallbackType partialCallbackTypeArg);
+ attribute PartialEnumType enumAttribute;
+ void methodThatTakesCallback(PartialCallbackType callback);
};
« no previous file with comments | « Source/bindings/tests/idls/TestPartialInterface2.idl ('k') | Source/bindings/tests/idls/TestPartialInterfacePython2.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698