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

Side by Side Diff: third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.h

Issue 2393243003: Reflow comments in //third_party/WebKit/Sourcecore/editing/serializers (Closed)
Patch Set: Address nits Created 4 years, 2 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) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
3 * reserved.
3 * 4 *
4 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
6 * are met: 7 * are met:
7 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 11 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution. 12 * documentation and/or other materials provided with the distribution.
12 * 13 *
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 enum EntityMask { 45 enum EntityMask {
45 EntityAmp = 0x0001, 46 EntityAmp = 0x0001,
46 EntityLt = 0x0002, 47 EntityLt = 0x0002,
47 EntityGt = 0x0004, 48 EntityGt = 0x0004,
48 EntityQuot = 0x0008, 49 EntityQuot = 0x0008,
49 EntityNbsp = 0x0010, 50 EntityNbsp = 0x0010,
50 EntityTab = 0x0020, 51 EntityTab = 0x0020,
51 EntityLineFeed = 0x0040, 52 EntityLineFeed = 0x0040,
52 EntityCarriageReturn = 0x0080, 53 EntityCarriageReturn = 0x0080,
53 54
54 // Non-breaking space needs to be escaped in innerHTML for compatibility reaso n. See http://trac.webkit.org/changeset/32879 55 // Non-breaking space needs to be escaped in innerHTML for compatibility
55 // However, we cannot do this in a XML document because it does not have the e ntity reference defined (See the bug 19215). 56 // reasons. See http://trac.webkit.org/changeset/32879. However, we cannot do
57 // this in an XML document because it does not have the entity reference
58 // defined (see bug 19215).
56 EntityMaskInCDATA = 0, 59 EntityMaskInCDATA = 0,
57 EntityMaskInPCDATA = EntityAmp | EntityLt | EntityGt, 60 EntityMaskInPCDATA = EntityAmp | EntityLt | EntityGt,
58 EntityMaskInHTMLPCDATA = EntityMaskInPCDATA | EntityNbsp, 61 EntityMaskInHTMLPCDATA = EntityMaskInPCDATA | EntityNbsp,
59 EntityMaskInAttributeValue = EntityAmp | EntityQuot | EntityLt | EntityGt | 62 EntityMaskInAttributeValue = EntityAmp | EntityQuot | EntityLt | EntityGt |
60 EntityTab | 63 EntityTab |
61 EntityLineFeed | 64 EntityLineFeed |
62 EntityCarriageReturn, 65 EntityCarriageReturn,
63 EntityMaskInHTMLAttributeValue = EntityAmp | EntityQuot | EntityNbsp, 66 EntityMaskInHTMLAttributeValue = EntityAmp | EntityQuot | EntityNbsp,
64 }; 67 };
65 68
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 const Element&, 119 const Element&,
117 const Attribute&); 120 const Attribute&);
118 121
119 const EAbsoluteURLs m_resolveURLsMethod; 122 const EAbsoluteURLs m_resolveURLsMethod;
120 SerializationType m_serializationType; 123 SerializationType m_serializationType;
121 }; 124 };
122 125
123 } // namespace blink 126 } // namespace blink
124 127
125 #endif 128 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698