| 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 22 matching lines...) Expand all Loading... |
| 33 #include "wtf/unicode/CharacterNames.h" | 33 #include "wtf/unicode/CharacterNames.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class Document; | 37 class Document; |
| 38 class Element; | 38 class Element; |
| 39 class ExceptionState; | 39 class ExceptionState; |
| 40 class HTMLBRElement; | 40 class HTMLBRElement; |
| 41 class HTMLElement; | 41 class HTMLElement; |
| 42 class HTMLLIElement; | 42 class HTMLLIElement; |
| 43 class HTMLOListElement; | |
| 44 class HTMLSpanElement; | 43 class HTMLSpanElement; |
| 45 class HTMLUListElement; | 44 class HTMLUListElement; |
| 46 class Node; | 45 class Node; |
| 47 class Position; | 46 class Position; |
| 48 class PositionWithAffinity; | 47 class PositionWithAffinity; |
| 49 class Range; | 48 class Range; |
| 50 class VisiblePosition; | 49 class VisiblePosition; |
| 51 class VisibleSelection; | 50 class VisibleSelection; |
| 52 | 51 |
| 53 | 52 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope); | 197 VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope); |
| 199 | 198 |
| 200 // ------------------------------------------------------------------------- | 199 // ------------------------------------------------------------------------- |
| 201 // HTMLElement | 200 // HTMLElement |
| 202 // ------------------------------------------------------------------------- | 201 // ------------------------------------------------------------------------- |
| 203 | 202 |
| 204 // Functions returning HTMLElement | 203 // Functions returning HTMLElement |
| 205 | 204 |
| 206 PassRefPtrWillBeRawPtr<HTMLElement> createDefaultParagraphElement(Document&); | 205 PassRefPtrWillBeRawPtr<HTMLElement> createDefaultParagraphElement(Document&); |
| 207 PassRefPtrWillBeRawPtr<HTMLBRElement> createBreakElement(Document&); | 206 PassRefPtrWillBeRawPtr<HTMLBRElement> createBreakElement(Document&); |
| 208 PassRefPtrWillBeRawPtr<HTMLOListElement> createOrderedListElement(Document&); | |
| 209 PassRefPtrWillBeRawPtr<HTMLUListElement> createUnorderedListElement(Document&); | 207 PassRefPtrWillBeRawPtr<HTMLUListElement> createUnorderedListElement(Document&); |
| 210 PassRefPtrWillBeRawPtr<HTMLLIElement> createListItemElement(Document&); | 208 PassRefPtrWillBeRawPtr<HTMLLIElement> createListItemElement(Document&); |
| 211 PassRefPtrWillBeRawPtr<HTMLElement> createHTMLElement(Document&, const Qualified
Name&); | 209 PassRefPtrWillBeRawPtr<HTMLElement> createHTMLElement(Document&, const Qualified
Name&); |
| 212 | 210 |
| 213 HTMLElement* enclosingList(Node*); | 211 HTMLElement* enclosingList(Node*); |
| 214 HTMLElement* outermostEnclosingList(Node*, HTMLElement* rootList = nullptr); | 212 HTMLElement* outermostEnclosingList(Node*, HTMLElement* rootList = nullptr); |
| 215 Node* enclosingListChild(Node*); | 213 Node* enclosingListChild(Node*); |
| 216 | 214 |
| 217 // ------------------------------------------------------------------------- | 215 // ------------------------------------------------------------------------- |
| 218 // Element | 216 // Element |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 258 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
| 261 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; | 259 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; |
| 262 } | 260 } |
| 263 | 261 |
| 264 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 262 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
| 265 const String& nonBreakingSpaceString(); | 263 const String& nonBreakingSpaceString(); |
| 266 | 264 |
| 267 } | 265 } |
| 268 | 266 |
| 269 #endif | 267 #endif |
| OLD | NEW |