| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |