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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGParsingError.h

Issue 1663753003: Additional errors for SVG transform list parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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) Research In Motion Limited 2011. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
3 * Copyright (C) 2011 Apple, Inc. All rights reserved. 3 * Copyright (C) 2011 Apple, Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 30 matching lines...) Expand all
41 TrailingGarbage, 41 TrailingGarbage,
42 ExpectedArcFlag, 42 ExpectedArcFlag,
43 ExpectedBoolean, 43 ExpectedBoolean,
44 ExpectedEndOfArguments, 44 ExpectedEndOfArguments,
45 ExpectedEnumeration, 45 ExpectedEnumeration,
46 ExpectedInteger, 46 ExpectedInteger,
47 ExpectedLength, 47 ExpectedLength,
48 ExpectedMoveToCommand, 48 ExpectedMoveToCommand,
49 ExpectedNumber, 49 ExpectedNumber,
50 ExpectedPathCommand, 50 ExpectedPathCommand,
51 ExpectedStartOfArguments,
52 ExpectedTransformFunction,
51 53
52 // Semantic errors 54 // Semantic errors
53 NegativeValue, 55 NegativeValue,
54 ZeroValue, 56 ZeroValue,
55 57
56 // Generic error 58 // Generic error
57 ParsingFailed, 59 ParsingFailed,
58 }; 60 };
59 61
60 class SVGParsingError { 62 class SVGParsingError {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 101
100 inline bool operator==(const SVGParsingError& error, SVGParseStatus status) 102 inline bool operator==(const SVGParsingError& error, SVGParseStatus status)
101 { 103 {
102 return error.status() == status; 104 return error.status() == status;
103 } 105 }
104 inline bool operator!=(const SVGParsingError& error, SVGParseStatus status) { re turn !(error == status); } 106 inline bool operator!=(const SVGParsingError& error, SVGParseStatus status) { re turn !(error == status); }
105 107
106 } // namespace blink 108 } // namespace blink
107 109
108 #endif // SVGParsingError_h 110 #endif // SVGParsingError_h
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/svg/SVGParsingError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698