| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 191 |
| 192 PassRefPtr<Range> createRange(Document&, const VisiblePosition& start, const Vis
iblePosition& end, ExceptionState&); | 192 PassRefPtr<Range> createRange(Document&, const VisiblePosition& start, const Vis
iblePosition& end, ExceptionState&); |
| 193 | 193 |
| 194 // ------------------------------------------------------------------------- | 194 // ------------------------------------------------------------------------- |
| 195 // HTMLElement | 195 // HTMLElement |
| 196 // ------------------------------------------------------------------------- | 196 // ------------------------------------------------------------------------- |
| 197 | 197 |
| 198 // Functions returning HTMLElement | 198 // Functions returning HTMLElement |
| 199 | 199 |
| 200 PassRefPtr<HTMLElement> createDefaultParagraphElement(Document&); | 200 PassRefPtr<HTMLElement> createDefaultParagraphElement(Document&); |
| 201 PassRefPtr<HTMLElement> createHTMLElement(Document&, const QualifiedName&); | |
| 202 PassRefPtr<HTMLElement> createHTMLElement(Document&, const AtomicString&); | |
| 203 | 201 |
| 204 // ------------------------------------------------------------------------- | 202 // ------------------------------------------------------------------------- |
| 205 // Element | 203 // Element |
| 206 // ------------------------------------------------------------------------- | 204 // ------------------------------------------------------------------------- |
| 207 | 205 |
| 208 Element* editableRootForPosition(const Position&, EditableType = ContentIsEditab
le); | 206 Element* editableRootForPosition(const Position&, EditableType = ContentIsEditab
le); |
| 209 Element* unsplittableElementForPosition(const Position&); | 207 Element* unsplittableElementForPosition(const Position&); |
| 210 | 208 |
| 211 // Boolean functions on Element | 209 // Boolean functions on Element |
| 212 | 210 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 241 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 239 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
| 242 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; | 240 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; |
| 243 } | 241 } |
| 244 | 242 |
| 245 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 243 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
| 246 const String& nonBreakingSpaceString(); | 244 const String& nonBreakingSpaceString(); |
| 247 | 245 |
| 248 } | 246 } |
| 249 | 247 |
| 250 #endif // SKY_ENGINE_CORE_EDITING_HTMLEDITING_H_ | 248 #endif // SKY_ENGINE_CORE_EDITING_HTMLEDITING_H_ |
| OLD | NEW |