1/* 2 * Copyright (C) 2007, 2009, 2010 Apple Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. 9 * 2. Redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 11 * documentation and/or other materials provided with the distribution. 12 * 13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#ifndef CharacterNames_h 27#define CharacterNames_h 28 29#include "wtf/unicode/Unicode.h" 30 31namespace WTF { 32namespace Unicode { 33 34// Names here are taken from the Unicode standard. 35 36// Most of these are UChar constants, not UChar32, which makes them 37// more convenient for WebCore code that mostly uses UTF-16. 38 39const UChar activateArabicFormShaping = 0x206D; 40const UChar activateSymmetricSwapping = 0x206B; 41const UChar32 aegeanWordSeparatorLine = 0x10100; 42const UChar32 aegeanWordSeparatorDot = 0x10101; 43const UChar arabicLetterMark = 0x061C; 44const UChar blackCircle = 0x25CF; 45const UChar blackSquare = 0x25A0; 46const UChar blackUpPointingTriangle = 0x25B2; 47const UChar bullet = 0x2022; 48const UChar bullseye = 0x25CE; 49const UChar carriageReturn = 0x000D; 50const UChar characterTabulation = 0x0009; 51const UChar ethiopicPrefaceColon = 0x1366; 52const UChar ethiopicWordspace = 0x1361; 53const UChar firstStrongIsolate = 0x2068; 54const UChar fisheye = 0x25C9; 55const UChar hebrewPunctuationGeresh = 0x05F3; 56const UChar hebrewPunctuationGershayim = 0x05F4; 57const UChar HiraganaLetterSmallA = 0x3041; 58const UChar horizontalEllipsis = 0x2026; 59const UChar hyphen = 0x2010; 60const UChar hyphenMinus = 0x002D; 61const UChar ideographicComma = 0x3001; 62const UChar ideographicFullStop = 0x3002; 63const UChar ideographicSpace = 0x3000; 64const UChar inhibitArabicFormShaping = 0x206C; 65const UChar inhibitSymmetricSwapping = 0x206A; 66const UChar leftDoubleQuotationMark = 0x201C; 67const UChar leftSingleQuotationMark = 0x2018; 68const UChar leftToRightEmbed = 0x202A; 69const UChar leftToRightIsolate = 0x2066; 70const UChar leftToRightMark = 0x200E; 71const UChar leftToRightOverride = 0x202D; 72const UChar minusSign = 0x2212; 73const UChar newlineCharacter = 0x000A; 74const UChar nationalDigitShapes = 0x206E; 75const UChar nominalDigitShapes = 0x206F; 76const UChar noBreakSpace = 0x00A0; 77const UChar objectReplacementCharacter = 0xFFFC; 78const UChar popDirectionalFormatting = 0x202C; 79const UChar popDirectionalIsolate = 0x2069; 80const UChar replacementCharacter = 0xFFFD; 81const UChar rightDoubleQuotationMark = 0x201D; 82const UChar rightSingleQuotationMark = 0x2019; 83const UChar rightToLeftEmbed = 0x202B; 84const UChar rightToLeftIsolate = 0x2067; 85const UChar rightToLeftMark = 0x200F; 86const UChar rightToLeftOverride = 0x202E; 87const UChar sesameDot = 0xFE45; 88const UChar smallLetterSharpS = 0x00DF; 89const UChar softHyphen = 0x00AD; 90const UChar space = 0x0020; 91const UChar tibetanMarkIntersyllabicTsheg = 0x0F0B; 92const UChar tibetanMarkDelimiterTshegBstar = 0x0F0C; 93const UChar32 ugariticWordDivider = 0x1039F; 94const UChar whiteBullet = 0x25E6; 95const UChar whiteCircle = 0x25CB; 96const UChar whiteSesameDot = 0xFE46; 97const UChar whiteUpPointingTriangle = 0x25B3; 98const UChar yenSign = 0x00A5; 99const UChar zeroWidthJoiner = 0x200D; 100const UChar zeroWidthNonJoiner = 0x200C; 101const UChar zeroWidthSpace = 0x200B; 102const UChar zeroWidthNoBreakSpace = 0xFEFF; 103 104} // namespace Unicode 105} // namespace WTF 106 107using WTF::Unicode::aegeanWordSeparatorLine; 108using WTF::Unicode::aegeanWordSeparatorDot; 109using WTF::Unicode::activateArabicFormShaping; 110using WTF::Unicode::activateSymmetricSwapping; 111using WTF::Unicode::arabicLetterMark; 112using WTF::Unicode::blackCircle; 113using WTF::Unicode::blackSquare; 114using WTF::Unicode::blackUpPointingTriangle; 115using WTF::Unicode::bullet; 116using WTF::Unicode::bullseye; 117using WTF::Unicode::carriageReturn; 118using WTF::Unicode::characterTabulation; 119using WTF::Unicode::ethiopicPrefaceColon; 120using WTF::Unicode::ethiopicWordspace; 121using WTF::Unicode::firstStrongIsolate; 122using WTF::Unicode::fisheye; 123using WTF::Unicode::hebrewPunctuationGeresh; 124using WTF::Unicode::hebrewPunctuationGershayim; 125using WTF::Unicode::HiraganaLetterSmallA; 126using WTF::Unicode::horizontalEllipsis; 127using WTF::Unicode::hyphen; 128using WTF::Unicode::hyphenMinus; 129using WTF::Unicode::ideographicComma; 130using WTF::Unicode::ideographicFullStop; 131using WTF::Unicode::ideographicSpace; 132using WTF::Unicode::inhibitArabicFormShaping; 133using WTF::Unicode::inhibitSymmetricSwapping; 134using WTF::Unicode::leftDoubleQuotationMark; 135using WTF::Unicode::leftSingleQuotationMark; 136using WTF::Unicode::leftToRightEmbed; 137using WTF::Unicode::leftToRightIsolate; 138using WTF::Unicode::leftToRightMark; 139using WTF::Unicode::leftToRightOverride; 140using WTF::Unicode::minusSign; 141using WTF::Unicode::newlineCharacter; 142using WTF::Unicode::nationalDigitShapes; 143using WTF::Unicode::nominalDigitShapes; 144using WTF::Unicode::noBreakSpace; 145using WTF::Unicode::objectReplacementCharacter; 146using WTF::Unicode::popDirectionalFormatting; 147using WTF::Unicode::popDirectionalIsolate; 148using WTF::Unicode::replacementCharacter; 149using WTF::Unicode::rightDoubleQuotationMark; 150using WTF::Unicode::rightSingleQuotationMark; 151using WTF::Unicode::rightToLeftEmbed; 152using WTF::Unicode::rightToLeftIsolate; 153using WTF::Unicode::rightToLeftMark; 154using WTF::Unicode::rightToLeftOverride; 155using WTF::Unicode::sesameDot; 156using WTF::Unicode::smallLetterSharpS; 157using WTF::Unicode::softHyphen; 158using WTF::Unicode::space; 159using WTF::Unicode::tibetanMarkIntersyllabicTsheg; 160using WTF::Unicode::tibetanMarkDelimiterTshegBstar; 161using WTF::Unicode::ugariticWordDivider; 162using WTF::Unicode::whiteBullet; 163using WTF::Unicode::whiteCircle; 164using WTF::Unicode::whiteSesameDot; 165using WTF::Unicode::whiteUpPointingTriangle; 166using WTF::Unicode::yenSign; 167using WTF::Unicode::zeroWidthJoiner; 168using WTF::Unicode::zeroWidthNonJoiner; 169using WTF::Unicode::zeroWidthSpace; 170using WTF::Unicode::zeroWidthNoBreakSpace; 171 172#endif // CharacterNames_h 173