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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLEntityParser.h

Issue 2386893002: Reformat comments in core/html/parser (Closed)
Patch Set: self review 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 3 * Copyright (C) 2010 Google, 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 unsigned length; 62 unsigned length;
63 UChar data[kMaxLength]; 63 UChar data[kMaxLength];
64 }; 64 };
65 65
66 CORE_EXPORT bool consumeHTMLEntity(SegmentedString&, 66 CORE_EXPORT bool consumeHTMLEntity(SegmentedString&,
67 DecodedHTMLEntity& decodedEntity, 67 DecodedHTMLEntity& decodedEntity,
68 bool& notEnoughCharacters, 68 bool& notEnoughCharacters,
69 UChar additionalAllowedCharacter = '\0'); 69 UChar additionalAllowedCharacter = '\0');
70 70
71 // Used by the XML parser. Not suitable for use in HTML parsing. Use consumeHT MLEntity instead. 71 // Used by the XML parser. Not suitable for use in HTML parsing. Use
72 // consumeHTMLEntity instead.
72 size_t decodeNamedEntityToUCharArray(const char*, UChar result[4]); 73 size_t decodeNamedEntityToUCharArray(const char*, UChar result[4]);
73 74
74 } // namespace blink 75 } // namespace blink
75 76
76 #endif 77 #endif // HTMLEntityParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698