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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 bool isContentEditable() const; | 131 bool isContentEditable() const; |
132 bool hasEditableStyle() const; | 132 bool hasEditableStyle() const; |
133 bool isContentRichlyEditable() const; | 133 bool isContentRichlyEditable() const; |
134 | 134 |
135 bool isValidFor(const Document&) const; | 135 bool isValidFor(const Document&) const; |
136 void setWithoutValidation(const PositionTemplate<Strategy>&, | 136 void setWithoutValidation(const PositionTemplate<Strategy>&, |
137 const PositionTemplate<Strategy>&); | 137 const PositionTemplate<Strategy>&); |
138 | 138 |
139 DECLARE_TRACE(); | 139 DECLARE_TRACE(); |
140 | 140 |
141 void updateIfNeeded(); | |
142 | |
143 #ifndef NDEBUG | 141 #ifndef NDEBUG |
144 void showTreeForThis() const; | 142 void showTreeForThis() const; |
145 #endif | 143 #endif |
146 static void PrintTo(const VisibleSelectionTemplate&, std::ostream*); | 144 static void PrintTo(const VisibleSelectionTemplate&, std::ostream*); |
147 | 145 |
148 private: | 146 private: |
149 friend class SelectionAdjuster; | 147 friend class SelectionAdjuster; |
150 | 148 |
151 VisibleSelectionTemplate(const SelectionTemplate<Strategy>&); | 149 VisibleSelectionTemplate(const SelectionTemplate<Strategy>&); |
152 | 150 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 | 215 |
218 #ifndef NDEBUG | 216 #ifndef NDEBUG |
219 // Outside the WebCore namespace for ease of invocation from gdb. | 217 // Outside the WebCore namespace for ease of invocation from gdb. |
220 void showTree(const blink::VisibleSelection&); | 218 void showTree(const blink::VisibleSelection&); |
221 void showTree(const blink::VisibleSelection*); | 219 void showTree(const blink::VisibleSelection*); |
222 void showTree(const blink::VisibleSelectionInFlatTree&); | 220 void showTree(const blink::VisibleSelectionInFlatTree&); |
223 void showTree(const blink::VisibleSelectionInFlatTree*); | 221 void showTree(const blink::VisibleSelectionInFlatTree*); |
224 #endif | 222 #endif |
225 | 223 |
226 #endif // VisibleSelection_h | 224 #endif // VisibleSelection_h |
OLD | NEW |