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

Side by Side Diff: Source/bindings/tests/idls/core/TestObject.idl

Issue 975673002: [bindings] v8_interface.py should support 'any' or 'object' in getter/setter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing. Created 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 Promise promiseOverloadMethod(); 468 Promise promiseOverloadMethod();
469 Promise promiseOverloadMethod(Window arg1, double arg2); 469 Promise promiseOverloadMethod(Window arg1, double arg2);
470 Promise promiseOverloadMethod(Document arg1, double arg2); 470 Promise promiseOverloadMethod(Document arg1, double arg2);
471 471
472 [PerWorldBindings] void overloadedPerWorldBindingsMethod(); 472 [PerWorldBindings] void overloadedPerWorldBindingsMethod();
473 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg); 473 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg);
474 474
475 static void overloadedStaticMethod(long longArg); 475 static void overloadedStaticMethod(long longArg);
476 static void overloadedStaticMethod(long longArg1, long longArg2); 476 static void overloadedStaticMethod(long longArg1, long longArg2);
477 477
478 // Special operations
479 getter any item(unsigned long index);
480 getter object(DOMString name);
481
478 // Extended attributes for arguments 482 // Extended attributes for arguments
479 // [Clamp] 483 // [Clamp]
480 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho rtArg); 484 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho rtArg);
481 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA rg); 485 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA rg);
482 // [Default] 486 // [Default]
483 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg); 487 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg);
484 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def aultUndefinedLongArg); 488 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def aultUndefinedLongArg);
485 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr ing defaultUndefinedStringArg); 489 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr ing defaultUndefinedStringArg);
486 // [EnforceRange] 490 // [EnforceRange]
487 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg); 491 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 587 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
584 [ImplementedInPrivateScript] attribute Node nodeAttribute; 588 [ImplementedInPrivateScript] attribute Node nodeAttribute;
585 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 589 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
586 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 590 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
587 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 591 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
588 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 592 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
589 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 593 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
590 594
591 maplike<long, DOMStringOrDouble>; 595 maplike<long, DOMStringOrDouble>;
592 }; 596 };
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_interface.py ('k') | Source/bindings/tests/results/core/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698