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

Unified Diff: core/html/canvas/Path2D.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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/html/canvas/Path.idl ('k') | core/html/canvas/WebGLCompressedTextureETC1.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/canvas/Path2D.idl
diff --git a/core/css/WebKitCSSFilterRule.idl b/core/html/canvas/Path2D.idl
similarity index 50%
copy from core/css/WebKitCSSFilterRule.idl
copy to core/html/canvas/Path2D.idl
index 09a3176335906a3747d3a10995710e82e0225207..262148560a264a0e6ade8c50217e848de676e0ad 100644
--- a/core/css/WebKitCSSFilterRule.idl
+++ b/core/html/canvas/Path2D.idl
@@ -1,17 +1,16 @@
/*
- * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved.
+ * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2012, 2013 Adobe Systems Incorporated. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
- * 1. Redistributions of source code must retain the above
- * copyright notice, this list of conditions and the following
- * disclaimer.
- * 2. Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -27,10 +26,16 @@
* SUCH DAMAGE.
*/
+// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#path2d
+
[
- ImplementedAs=CSSFilterRule
-] interface WebKitCSSFilterRule : CSSRule {
- readonly attribute CSSStyleDeclaration style;
+ Constructor,
+ Constructor(Path2D path),
+ Constructor(DOMString text),
+ RuntimeEnabled=Path2D,
+] interface Path2D {
- // FIXME: We should expose the filter name once the CSSOM for the @filter rule is specified.
+ [RuntimeEnabled=ExperimentalCanvasFeatures, TypeChecking=Interface|Nullable] void addPath(Path2D path, optional SVGMatrix? transform);
};
+
+Path2D implements CanvasPathMethods;
« no previous file with comments | « core/html/canvas/Path.idl ('k') | core/html/canvas/WebGLCompressedTextureETC1.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698