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

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

Issue 611953003: Canvas2D Performance: fix the bottleneck of hasInstance during JS binding -- overloading (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: comments + coding style" Created 6 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 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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string); 545 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string);
546 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 546 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
547 [ImplementedInPrivateScript] attribute short shortAttribute; 547 [ImplementedInPrivateScript] attribute short shortAttribute;
548 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 548 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
549 [ImplementedInPrivateScript] attribute Node nodeAttribute; 549 [ImplementedInPrivateScript] attribute Node nodeAttribute;
550 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 550 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
551 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 551 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
552 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 552 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
553 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 553 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
554 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 554 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
555
556 // remove redundant type checking
Nils Barth (inactive) 2014/10/13 14:36:57 Could you move these up to the other [TypeChecking
yunchao 2014/10/14 06:58:49 Done.
557 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sA(Node a, long b);
558 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sA(long a, long b);
559 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sB(Node a);
560 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sB(long a, long b);
561 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sC(Node a);
562 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sC(long a, optional long b);
563 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sD(Node a, Node b);
564 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sD(Node a, long b);
565 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sE(Node a, Node b);
566 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sE(Node a, optional long b);
567 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sF(optional Node a);
568 [TypeChecking=Interface] void typeCheckingMaybeRedundantForOverloadingMethod sF(Document a, optional Node b);
555 }; 569 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698