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

Side by Side Diff: Source/core/page/ConsoleTypes.h

Issue 20890003: Limit console messages' automatic collection of parser state. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline "fast/frames/sandboxed-iframe-autofocus-denied.html" Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/cache/ResourceFetcher.cpp ('k') | Source/core/page/PageConsole.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/core/loader/cache/ResourceFetcher.cpp ('k') | Source/core/page/PageConsole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698