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

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

Issue 27003002: IDL compiler: [Reflect] for getters (+ remove unnecessary WebCore::) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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: Source/bindings/tests/idls/TestObjectPython.idl
diff --git a/Source/bindings/tests/idls/TestObjectPython.idl b/Source/bindings/tests/idls/TestObjectPython.idl
index 878c782620b9a8bad349b69cee1a5b484fa656d1..80f327a90aa5d8c6629bfd5995fe86f81eafd6ab 100644
--- a/Source/bindings/tests/idls/TestObjectPython.idl
+++ b/Source/bindings/tests/idls/TestObjectPython.idl
@@ -102,4 +102,18 @@ interface TestObjectPython {
[CustomElementCallbacks] readonly attribute long customElementsCallbacksReadonlyLongAttribute;
[DeprecateAs=ReadonlyLongAttribute] readonly attribute long deprecatedReadonlyLongAttribute;
[KeepAttributeAliveForGC] readonly attribute DocumentFragment readonlyDocumentFragmentAttribute;
+ [Reflect] readonly attribute TestInterface reflectReadonlyTestInterfaceAttribute;
+ [Reflect=reflectedNameAttribute] readonly attribute TestInterface reflectReflectedNameAttributeReadonlyTestAttribute;
+ // [Reflect] special types: special getters or range checking for unsigned
+ [Reflect] readonly attribute boolean reflectReadonlyBooleanAttribute;
+ [Reflect] readonly attribute long reflectReadonlyLongAttribute;
+ [Reflect] readonly attribute unsigned short reflectReadonlyUnsignedShortAttribute;
+ [Reflect] readonly attribute unsigned long reflectReadonlyUnsignedLongAttribute;
+ // [Reflect] special names
+ [Reflect] readonly attribute DOMString id;
+ [Reflect] readonly attribute DOMString name;
+ [Reflect] readonly attribute DOMString class;
+ [Reflect=id] readonly attribute DOMString reflectedId;
+ [Reflect=name] readonly attribute DOMString reflectedName;
+ [Reflect=class] readonly attribute DOMString reflectedClass;
};

Powered by Google App Engine
This is Rietveld 408576698