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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Functions returning Node | 57 // Functions returning Node |
58 | 58 |
59 ContainerNode* highestEditableRoot(const Position&, EditableType = ContentIsEdit
able); | 59 ContainerNode* highestEditableRoot(const Position&, EditableType = ContentIsEdit
able); |
60 | 60 |
61 Node* highestEnclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Nod
e*), | 61 Node* highestEnclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Nod
e*), |
62 EditingBoundaryCrossingRule = CannotCrossEditingBoundary, Node* stayWithin =
0); | 62 EditingBoundaryCrossingRule = CannotCrossEditingBoundary, Node* stayWithin =
0); |
63 Node* highestNodeToRemoveInPruning(Node*, Node* excludeNode = 0); | 63 Node* highestNodeToRemoveInPruning(Node*, Node* excludeNode = 0); |
64 Element* lowestEditableAncestor(Node*); | 64 Element* lowestEditableAncestor(Node*); |
65 | 65 |
66 Element* enclosingBlock(Node*, EditingBoundaryCrossingRule = CannotCrossEditingB
oundary); | 66 Element* enclosingBlock(Node*, EditingBoundaryCrossingRule = CannotCrossEditingB
oundary); |
| 67 Element* enclosingBlockFlowElement(Node&); // Deprecated, use enclosingBlock ins
tead. |
| 68 bool inSameContainingBlockFlowElement(Node*, Node*); |
67 Element* enclosingTableCell(const Position&); | 69 Element* enclosingTableCell(const Position&); |
68 Node* enclosingEmptyListItem(const VisiblePosition&); | 70 Node* enclosingEmptyListItem(const VisiblePosition&); |
69 Element* enclosingAnchorElement(const Position&); | 71 Element* enclosingAnchorElement(const Position&); |
70 Element* enclosingElementWithTag(const Position&, const QualifiedName&); | 72 Element* enclosingElementWithTag(const Position&, const QualifiedName&); |
71 Node* enclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), Ed
itingBoundaryCrossingRule = CannotCrossEditingBoundary); | 73 Node* enclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), Ed
itingBoundaryCrossingRule = CannotCrossEditingBoundary); |
72 | 74 |
73 HTMLSpanElement* tabSpanElement(const Node*); | 75 HTMLSpanElement* tabSpanElement(const Node*); |
74 Node* isLastPositionBeforeTable(const VisiblePosition&); | 76 Node* isLastPositionBeforeTable(const VisiblePosition&); |
75 Node* isFirstPositionAfterTable(const VisiblePosition&); | 77 Node* isFirstPositionAfterTable(const VisiblePosition&); |
76 | 78 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 268 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
267 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; | 269 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; |
268 } | 270 } |
269 | 271 |
270 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 272 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
271 const String& nonBreakingSpaceString(); | 273 const String& nonBreakingSpaceString(); |
272 | 274 |
273 } | 275 } |
274 | 276 |
275 #endif | 277 #endif |
OLD | NEW |