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

Unified Diff: Source/core/svg/SVGPreserveAspectRatio.idl

Issue 146423002: Move [StrictTypeChecking] to interface (from members), where possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 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 | « Source/core/svg/SVGPointList.idl ('k') | Source/core/svg/SVGRect.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPreserveAspectRatio.idl
diff --git a/Source/core/svg/SVGPreserveAspectRatio.idl b/Source/core/svg/SVGPreserveAspectRatio.idl
index 477369ee6d9a29143681bda5dec35d8b656d5df0..1b00ed4453d932cc6e914c3351793e4cf5cbbaa8 100644
--- a/Source/core/svg/SVGPreserveAspectRatio.idl
+++ b/Source/core/svg/SVGPreserveAspectRatio.idl
@@ -23,8 +23,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-interface SVGPreserveAspectRatio {
- // Alignment Types
+[
+ StrictTypeChecking,
+] interface SVGPreserveAspectRatio {
+ // Alignment types
const unsigned short SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
const unsigned short SVG_PRESERVEASPECTRATIO_NONE = 1;
const unsigned short SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
@@ -37,13 +39,12 @@ interface SVGPreserveAspectRatio {
const unsigned short SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
const unsigned short SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
- // Meet-or-slice Types
+ // Meet-or-slice types
const unsigned short SVG_MEETORSLICE_UNKNOWN = 0;
const unsigned short SVG_MEETORSLICE_MEET = 1;
const unsigned short SVG_MEETORSLICE_SLICE = 2;
- [StrictTypeChecking, RaisesException=Setter] attribute unsigned short align;
+ [RaisesException=Setter] attribute unsigned short align;
- [StrictTypeChecking, RaisesException=Setter] attribute unsigned short meetOrSlice;
+ [RaisesException=Setter] attribute unsigned short meetOrSlice;
};
-
« no previous file with comments | « Source/core/svg/SVGPointList.idl ('k') | Source/core/svg/SVGRect.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698