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

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

Issue 1186823014: [bindings] Eliminate custom bindings for DeviceOrientationEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Introducing |TreatUndefinedAs=Null| Created 5 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 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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 // [Default] 496 // [Default]
497 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg); 497 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg);
498 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def aultUndefinedLongArg); 498 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def aultUndefinedLongArg);
499 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr ing defaultUndefinedStringArg); 499 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr ing defaultUndefinedStringArg);
500 // [EnforceRange] 500 // [EnforceRange]
501 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg); 501 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg);
502 // [TreatNullAs], [TreatUndefinedAs] 502 // [TreatNullAs], [TreatUndefinedAs]
503 void voidMethodTreatNullAsEmptyStringStringArg([TreatNullAs=EmptyString] DOM String treatNullAsEmptyStringStringArg); 503 void voidMethodTreatNullAsEmptyStringStringArg([TreatNullAs=EmptyString] DOM String treatNullAsEmptyStringStringArg);
504 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt ring treatNullAsNullStringStringArg); 504 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt ring treatNullAsNullStringStringArg);
505 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin gStringArg); 505 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin gStringArg);
506 void voidMethodTreadUndefinedAsNull(double firstArg, optional long secondArg , [Default=Undefined, TreatUndefinedAs=Null] optional double optionalDoubleArg);
506 507
507 // Extended attributes for methods 508 // Extended attributes for methods
508 [LogActivity, LogAllWorlds] void activityLoggingAccessForAllWorldsMethod(); 509 [LogActivity, LogAllWorlds] void activityLoggingAccessForAllWorldsMethod();
509 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); 510 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod();
510 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); 511 [CallWith=ScriptState] void callWithScriptStateVoidMethod();
511 [CallWith=ScriptState] long callWithScriptStateLongMethod(); 512 [CallWith=ScriptState] long callWithScriptStateLongMethod();
512 [CallWith=(ScriptState,ExecutionContext)] void callWithScriptStateExecutionC ontextVoidMethod(); 513 [CallWith=(ScriptState,ExecutionContext)] void callWithScriptStateExecutionC ontextVoidMethod();
513 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum entsVoidMethod(); 514 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum entsVoidMethod();
514 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum entsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); 515 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum entsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg);
515 [CallWith=ActiveWindow] void callWithActiveWindow(); 516 [CallWith=ActiveWindow] void callWithActiveWindow();
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 608 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
608 [ImplementedInPrivateScript] attribute Node nodeAttribute; 609 [ImplementedInPrivateScript] attribute Node nodeAttribute;
609 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 610 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
610 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 611 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
611 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 612 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
612 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 613 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
613 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 614 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
614 615
615 maplike<long, DOMStringOrDouble>; 616 maplike<long, DOMStringOrDouble>;
616 }; 617 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698