OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 VisiblePosition endOfEditableContent(const VisiblePosition&); | 145 VisiblePosition endOfEditableContent(const VisiblePosition&); |
146 bool isEndOfEditableOrNonEditableContent(const VisiblePosition&); | 146 bool isEndOfEditableOrNonEditableContent(const VisiblePosition&); |
147 | 147 |
148 CORE_EXPORT InlineBoxPosition computeInlineBoxPosition(const Position&, TextAffi
nity); | 148 CORE_EXPORT InlineBoxPosition computeInlineBoxPosition(const Position&, TextAffi
nity); |
149 CORE_EXPORT InlineBoxPosition computeInlineBoxPosition(const Position&, TextAffi
nity, TextDirection primaryDirection); | 149 CORE_EXPORT InlineBoxPosition computeInlineBoxPosition(const Position&, TextAffi
nity, TextDirection primaryDirection); |
150 CORE_EXPORT InlineBoxPosition computeInlineBoxPosition(const PositionInComposedT
ree&, TextAffinity); | 150 CORE_EXPORT InlineBoxPosition computeInlineBoxPosition(const PositionInComposedT
ree&, TextAffinity); |
151 CORE_EXPORT InlineBoxPosition computeInlineBoxPosition(const PositionInComposedT
ree&, TextAffinity, TextDirection primaryDirection); | 151 CORE_EXPORT InlineBoxPosition computeInlineBoxPosition(const PositionInComposedT
ree&, TextAffinity, TextDirection primaryDirection); |
152 CORE_EXPORT InlineBoxPosition computeInlineBoxPosition(const VisiblePosition&); | 152 CORE_EXPORT InlineBoxPosition computeInlineBoxPosition(const VisiblePosition&); |
153 | 153 |
154 // Rect is local to the returned layoutObject | 154 // Rect is local to the returned layoutObject |
155 LayoutRect localCaretRectOfPosition(const PositionWithAffinity&, LayoutObject*&)
; | 155 CORE_EXPORT LayoutRect localCaretRectOfPosition(const PositionWithAffinity&, Lay
outObject*&); |
| 156 CORE_EXPORT LayoutRect localCaretRectOfPosition(const PositionInComposedTreeWith
Affinity&, LayoutObject*&); |
156 bool hasRenderedNonAnonymousDescendantsWithHeight(LayoutObject*); | 157 bool hasRenderedNonAnonymousDescendantsWithHeight(LayoutObject*); |
157 | 158 |
158 // Returns a hit-tested VisiblePosition for the given point in contents-space | 159 // Returns a hit-tested VisiblePosition for the given point in contents-space |
159 // coordinates. | 160 // coordinates. |
160 CORE_EXPORT VisiblePosition visiblePositionForContentsPoint(const IntPoint&, Loc
alFrame*); | 161 CORE_EXPORT VisiblePosition visiblePositionForContentsPoint(const IntPoint&, Loc
alFrame*); |
161 | 162 |
162 CORE_EXPORT bool rendersInDifferentPosition(const Position&, const Position&); | 163 CORE_EXPORT bool rendersInDifferentPosition(const Position&, const Position&); |
163 | 164 |
164 } // namespace blink | 165 } // namespace blink |
165 | 166 |
166 #endif // VisibleUnits_h | 167 #endif // VisibleUnits_h |
OLD | NEW |