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

Unified Diff: core/svg/SVGPointList.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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
« no previous file with comments | « core/svg/SVGPoint.idl ('k') | core/svg/SVGPolygonElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/svg/SVGPointList.idl
diff --git a/core/svg/SVGPointList.idl b/core/svg/SVGPointList.idl
index 7bf20b53f7e09c64bf66aa4b1550becf14e58a58..e2dbb1526ea15a77d238f9d22b665846767958ba 100644
--- a/core/svg/SVGPointList.idl
+++ b/core/svg/SVGPointList.idl
@@ -23,20 +23,26 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://www.w3.org/TR/SVG2/coords.html#InterfaceSVGPointList
+
[
ImplementedAs=SVGPointListTearOff,
SetWrapperReferenceTo(SVGElement contextElement),
TypeChecking=Interface,
+ RuntimeEnabled=SVG1DOM,
+ MeasureAs=SVG1DOM,
+ WillBeGarbageCollected,
] interface SVGPointList {
readonly attribute unsigned long length;
[ImplementedAs=length] readonly attribute unsigned long numberOfItems;
[RaisesException] void clear();
- [RaisesException] SVGPoint initialize(SVGPoint item);
+ // TODO(philipj): SVGPoint should be DOMPoint.
+ [RaisesException] SVGPoint initialize(SVGPoint newItem);
[RaisesException] getter SVGPoint getItem(unsigned long index);
- [RaisesException] setter SVGPoint (unsigned long index, SVGPoint value);
- [RaisesException] SVGPoint insertItemBefore(SVGPoint item, unsigned long index);
- [RaisesException] SVGPoint replaceItem(SVGPoint item, unsigned long index);
+ [RaisesException] SVGPoint insertItemBefore(SVGPoint newItem, unsigned long index);
+ [RaisesException] SVGPoint replaceItem(SVGPoint newItem, unsigned long index);
[RaisesException] SVGPoint removeItem(unsigned long index);
- [RaisesException] SVGPoint appendItem(SVGPoint item);
+ [RaisesException] SVGPoint appendItem(SVGPoint newItem);
+ [RaisesException] setter void (unsigned long index, SVGPoint newItem);
};
« no previous file with comments | « core/svg/SVGPoint.idl ('k') | core/svg/SVGPolygonElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698