OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 10 matching lines...) Expand all Loading... |
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef ConsoleTypes_h | 26 #ifndef ConsoleTypes_h |
27 #define ConsoleTypes_h | 27 #define ConsoleTypes_h |
28 | 28 |
29 namespace WebCore { | 29 namespace WebCore { |
30 | 30 |
| 31 enum ParserStateCollectionDisposition { |
| 32 DoNotForceParserStateCollection, |
| 33 ForceParserStateCollection |
| 34 }; |
| 35 |
31 enum MessageSource { | 36 enum MessageSource { |
32 XMLMessageSource, | 37 XMLMessageSource, |
33 JSMessageSource, | 38 JSMessageSource, |
34 NetworkMessageSource, | 39 NetworkMessageSource, |
35 ConsoleAPIMessageSource, | 40 ConsoleAPIMessageSource, |
36 StorageMessageSource, | 41 StorageMessageSource, |
37 AppCacheMessageSource, | 42 AppCacheMessageSource, |
38 RenderingMessageSource, | 43 RenderingMessageSource, |
39 CSSMessageSource, | 44 CSSMessageSource, |
40 SecurityMessageSource, | 45 SecurityMessageSource, |
41 OtherMessageSource, | 46 OtherMessageSource, |
42 DeprecationMessageSource, | 47 DeprecationMessageSource, |
43 }; | 48 }; |
44 | 49 |
45 enum MessageLevel { | 50 enum MessageLevel { |
46 DebugMessageLevel = 4, | 51 DebugMessageLevel = 4, |
47 LogMessageLevel = 1, | 52 LogMessageLevel = 1, |
48 WarningMessageLevel = 2, | 53 WarningMessageLevel = 2, |
49 ErrorMessageLevel = 3 | 54 ErrorMessageLevel = 3 |
50 }; | 55 }; |
51 | 56 |
52 } // namespace WebCore | 57 } // namespace WebCore |
53 | 58 |
54 #endif // ConsoleTypes_h | 59 #endif // ConsoleTypes_h |
OLD | NEW |