| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2008 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 // Move by a single code unit. |PositionMoveType::CodeUnit| is used for | 43 // Move by a single code unit. |PositionMoveType::CodeUnit| is used for |
| 44 // implementing other |PositionMoveType|. You should not use this. | 44 // implementing other |PositionMoveType|. You should not use this. |
| 45 CodeUnit, | 45 CodeUnit, |
| 46 // Move to the next Unicode code point. At most two code unit when we are | 46 // Move to the next Unicode code point. At most two code unit when we are |
| 47 // at surrogate pair. Please consider using |GraphemeCluster|. | 47 // at surrogate pair. Please consider using |GraphemeCluster|. |
| 48 CodePoint, | 48 CodePoint, |
| 49 // Used with |previousPositionOf()| to compute number of code units as | 49 // Used with |previousPositionOf()| to compute number of code units as |
| 50 // backward deletion, e.g Backspace key. This is similar to | 50 // backward deletion, e.g Backspace key. This is similar to |
| 51 // |GraphemeCluster| but some tailoring with platform dependent behavior. | 51 // |GraphemeCluster| but some tailoring with platform dependent behavior. |
| 52 BackwardDeletion, | 52 BackwardDeletion, |
| 53 // TODO(yosin): We'll have |GraphemeCluster| move type. | |
| 54 // Move by a grapheme cluster for user-perceived character in Unicode | 53 // Move by a grapheme cluster for user-perceived character in Unicode |
| 55 // Standard Annex #29, Unicode text segmentation[1]. | 54 // Standard Annex #29, Unicode text segmentation[1]. |
| 56 // [1] http://www.unicode.org/reports/tr29/ | 55 // [1] http://www.unicode.org/reports/tr29/ |
| 57 // GraphemeCluster, | 56 GraphemeCluster, |
| 58 }; | 57 }; |
| 59 | 58 |
| 60 class Document; | 59 class Document; |
| 61 class Element; | 60 class Element; |
| 62 class HTMLBRElement; | 61 class HTMLBRElement; |
| 63 class HTMLElement; | 62 class HTMLElement; |
| 64 class HTMLLIElement; | 63 class HTMLLIElement; |
| 65 class HTMLSpanElement; | 64 class HTMLSpanElement; |
| 66 class HTMLUListElement; | 65 class HTMLUListElement; |
| 67 class Node; | 66 class Node; |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 344 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
| 346 return character == '\'' || character == rightSingleQuotationMarkCharacter |
| character == hebrewPunctuationGershayimCharacter; | 345 return character == '\'' || character == rightSingleQuotationMarkCharacter |
| character == hebrewPunctuationGershayimCharacter; |
| 347 } | 346 } |
| 348 | 347 |
| 349 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 348 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
| 350 const String& nonBreakingSpaceString(); | 349 const String& nonBreakingSpaceString(); |
| 351 | 350 |
| 352 } // namespace blink | 351 } // namespace blink |
| 353 | 352 |
| 354 #endif | 353 #endif |
| OLD | NEW |