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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 bool isStartOfDocument(const VisiblePosition &); | 121 bool isStartOfDocument(const VisiblePosition &); |
122 bool isEndOfDocument(const VisiblePosition &); | 122 bool isEndOfDocument(const VisiblePosition &); |
123 | 123 |
124 // editable content | 124 // editable content |
125 VisiblePosition startOfEditableContent(const VisiblePosition&); | 125 VisiblePosition startOfEditableContent(const VisiblePosition&); |
126 VisiblePosition endOfEditableContent(const VisiblePosition&); | 126 VisiblePosition endOfEditableContent(const VisiblePosition&); |
127 bool isEndOfEditableOrNonEditableContent(const VisiblePosition&); | 127 bool isEndOfEditableOrNonEditableContent(const VisiblePosition&); |
128 | 128 |
129 // Rect is local to the returned layoutObject | 129 // Rect is local to the returned layoutObject |
130 LayoutRect localCaretRectOfPosition(const PositionWithAffinity&, LayoutObject*&)
; | 130 LayoutRect localCaretRectOfPosition(const PositionWithAffinity&, LayoutObject*&)
; |
| 131 bool hasRenderedNonAnonymousDescendantsWithHeight(LayoutObject*); |
131 | 132 |
132 // Returns a hit-tested VisiblePosition for the given point in contents-space | 133 // Returns a hit-tested VisiblePosition for the given point in contents-space |
133 // coordinates. | 134 // coordinates. |
134 CORE_EXPORT VisiblePosition visiblePositionForContentsPoint(const IntPoint&, Loc
alFrame*); | 135 CORE_EXPORT VisiblePosition visiblePositionForContentsPoint(const IntPoint&, Loc
alFrame*); |
135 | 136 |
136 CORE_EXPORT bool rendersInDifferentPosition(const Position&, const Position&); | 137 CORE_EXPORT bool rendersInDifferentPosition(const Position&, const Position&); |
137 | 138 |
138 } // namespace blink | 139 } // namespace blink |
139 | 140 |
140 #endif // VisibleUnits_h | 141 #endif // VisibleUnits_h |
OLD | NEW |