| 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 // ------------------------------------------------------------------------- | 270 // ------------------------------------------------------------------------- |
| 271 | 271 |
| 272 // Functions returning Element | 272 // Functions returning Element |
| 273 | 273 |
| 274 PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document&); | 274 PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document&); |
| 275 PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document&, const St
ring& tabText); | 275 PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document&, const St
ring& tabText); |
| 276 PassRefPtrWillBeRawPtr<HTMLBRElement> createBlockPlaceholderElement(Document&); | 276 PassRefPtrWillBeRawPtr<HTMLBRElement> createBlockPlaceholderElement(Document&); |
| 277 | 277 |
| 278 Element* editableRootForPosition(const Position&, EditableType = ContentIsEditab
le); | 278 Element* editableRootForPosition(const Position&, EditableType = ContentIsEditab
le); |
| 279 Element* editableRootForPosition(const PositionInComposedTree&, EditableType = C
ontentIsEditable); | 279 Element* editableRootForPosition(const PositionInComposedTree&, EditableType = C
ontentIsEditable); |
| 280 Element* rootEditableElementOf(const VisiblePosition&); |
| 280 Element* unsplittableElementForPosition(const Position&); | 281 Element* unsplittableElementForPosition(const Position&); |
| 281 | 282 |
| 282 // Boolean functions on Element | 283 // Boolean functions on Element |
| 283 | 284 |
| 284 bool canMergeLists(Element* firstList, Element* secondList); | 285 bool canMergeLists(Element* firstList, Element* secondList); |
| 285 | 286 |
| 286 // ------------------------------------------------------------------------- | 287 // ------------------------------------------------------------------------- |
| 287 // VisibleSelection | 288 // VisibleSelection |
| 288 // ------------------------------------------------------------------------- | 289 // ------------------------------------------------------------------------- |
| 289 | 290 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 312 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 313 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
| 313 return character == '\'' || character == rightSingleQuotationMarkCharacter |
| character == hebrewPunctuationGershayimCharacter; | 314 return character == '\'' || character == rightSingleQuotationMarkCharacter |
| character == hebrewPunctuationGershayimCharacter; |
| 314 } | 315 } |
| 315 | 316 |
| 316 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 317 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
| 317 const String& nonBreakingSpaceString(); | 318 const String& nonBreakingSpaceString(); |
| 318 | 319 |
| 319 } | 320 } |
| 320 | 321 |
| 321 #endif | 322 #endif |
| OLD | NEW |