| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006 Apple Computer, 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 bool isTabSpanTextNode(const Node*); | 87 bool isTabSpanTextNode(const Node*); |
| 88 Node* tabSpanNode(const Node*); | 88 Node* tabSpanNode(const Node*); |
| 89 Position positionBeforeTabSpan(const Position&); | 89 Position positionBeforeTabSpan(const Position&); |
| 90 PassRefPtr<Element> createTabSpanElement(Document*); | 90 PassRefPtr<Element> createTabSpanElement(Document*); |
| 91 PassRefPtr<Element> createTabSpanElement(Document*, PassRefPtr<Node> tabTextNode
); | 91 PassRefPtr<Element> createTabSpanElement(Document*, PassRefPtr<Node> tabTextNode
); |
| 92 PassRefPtr<Element> createTabSpanElement(Document*, const String& tabText); | 92 PassRefPtr<Element> createTabSpanElement(Document*, const String& tabText); |
| 93 | 93 |
| 94 bool isNodeRendered(const Node*); | 94 bool isNodeRendered(const Node*); |
| 95 bool isMailBlockquote(const Node*); | 95 bool isMailBlockquote(const Node*); |
| 96 Node* nearestMailBlockquote(const Node*); | 96 Node* nearestMailBlockquote(const Node*); |
| 97 unsigned numEnclosingMailBlockquotes(const Position&); |
| 97 int caretMinOffset(const Node*); | 98 int caretMinOffset(const Node*); |
| 98 int caretMaxOffset(const Node*); | 99 int caretMaxOffset(const Node*); |
| 99 | 100 |
| 100 //------------------------------------------------------------------------------
------------ | 101 //------------------------------------------------------------------------------
------------ |
| 101 | 102 |
| 102 bool isTableStructureNode(const Node*); | 103 bool isTableStructureNode(const Node*); |
| 103 PassRefPtr<Element> createBlockPlaceholderElement(Document*); | 104 PassRefPtr<Element> createBlockPlaceholderElement(Document*); |
| 104 | 105 |
| 105 bool isFirstVisiblePositionInSpecialElement(const Position&); | 106 bool isFirstVisiblePositionInSpecialElement(const Position&); |
| 106 Position positionBeforeContainingSpecialElement(const Position&, Node** containi
ngSpecialElement=0); | 107 Position positionBeforeContainingSpecialElement(const Position&, Node** containi
ngSpecialElement=0); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 125 | 126 |
| 126 bool lineBreakExistsAtPosition(const VisiblePosition&); | 127 bool lineBreakExistsAtPosition(const VisiblePosition&); |
| 127 | 128 |
| 128 Selection selectionForParagraphIteration(const Selection&); | 129 Selection selectionForParagraphIteration(const Selection&); |
| 129 | 130 |
| 130 int indexForVisiblePosition(VisiblePosition&); | 131 int indexForVisiblePosition(VisiblePosition&); |
| 131 | 132 |
| 132 } | 133 } |
| 133 | 134 |
| 134 #endif | 135 #endif |
| OLD | NEW |