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

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

Issue 17376006: Implement WebIDL implements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: With ParentNode.idl Created 7 years, 6 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/TestImplements.idl
diff --git a/Source/bindings/tests/idls/TestPartialInterface.idl b/Source/bindings/tests/idls/TestImplements.idl
similarity index 63%
copy from Source/bindings/tests/idls/TestPartialInterface.idl
copy to Source/bindings/tests/idls/TestImplements.idl
index 5ca154e77165a9b2d5e2017cd084bb89db76a876..ae41d019822eb788831242660c47f61247026759 100644
--- a/Source/bindings/tests/idls/TestPartialInterface.idl
+++ b/Source/bindings/tests/idls/TestImplements.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
+ * Copyright (C) 2013 Samsung Electronics. All rights reserved.
*
* Redistribution and use in source and binary formstrArg, with or without
* modification, are permitted provided that the following conditions
@@ -29,25 +29,26 @@
// This IDL file is for testing the bindings code generator and for tracking
// changes in its ouput.
[
- Conditional=Condition11|Condition12
-] partial interface TestInterface {
- static readonly attribute long supplementalStaticReadOnlyAttr;
- static attribute DOMString supplementalStaticAttr;
- readonly attribute DOMString supplementalStr1;
- attribute DOMString supplementalStr2;
- [CustomGetter, CustomSetter] attribute DOMString supplementalStr3;
- attribute Node supplementalNode;
+ Conditional=Condition22|Condition23
+] interface TestImplements {
+ static readonly attribute long implementsStaticReadOnlyAttr;
+ static attribute DOMString implementsStaticAttr;
+ readonly attribute DOMString implementsStr1;
+ attribute DOMString implementsStr2;
+ [CustomGetter, CustomSetter] attribute DOMString implementsStr3;
+ attribute Node implementsNode;
- void supplementalMethod1();
- [CallWith=ScriptExecutionContext, RaisesException] TestObject supplementalMethod2(DOMString strArg, TestObject objArg);
- [Custom] void supplementalMethod3();
- static void supplementalMethod4();
+ void implementsMethod1();
+ [CallWith=ScriptExecutionContext, RaisesException] TestObject implementsMethod2(DOMString strArg, TestObject objArg);
+ [Custom] void implementsMethod3();
+ static void implementsMethod4();
- const unsigned short SUPPLEMENTALCONSTANT1 = 1;
- [Reflect=CONST_IMPL] const unsigned short SUPPLEMENTALCONSTANT2 = 2;
-
- [EnabledAtRuntime=condition13] attribute Node Node13;
- [EnabledPerContext=condition14] attribute Node Node14;
- [EnabledAtRuntime=condition15, EnabledPerContext=condition16] attribute Node Node15;
+ const unsigned short IMPLEMENTSCONSTANT1 = 1;
+ [Reflect=CONST_IMPL] const unsigned short IMPLEMENTSCONSTANT2 = 2;
+ [EnabledAtRuntime=condition23] attribute Node Node23;
+ [EnabledPerContext=condition24] attribute Node Node24;
+ [EnabledAtRuntime=condition25, EnabledPerContext=condition26] attribute Node Node25;
};
+
+TestInterface implements TestImplements;

Powered by Google App Engine
This is Rietveld 408576698