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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 | 343 |
344 CORE_EXPORT bool RendersInDifferentPosition(const Position&, const Position&); | 344 CORE_EXPORT bool RendersInDifferentPosition(const Position&, const Position&); |
345 | 345 |
346 CORE_EXPORT Position SkipWhitespace(const Position&); | 346 CORE_EXPORT Position SkipWhitespace(const Position&); |
347 CORE_EXPORT PositionInFlatTree SkipWhitespace(const PositionInFlatTree&); | 347 CORE_EXPORT PositionInFlatTree SkipWhitespace(const PositionInFlatTree&); |
348 | 348 |
349 CORE_EXPORT IntRect ComputeTextRect(const EphemeralRange&); | 349 CORE_EXPORT IntRect ComputeTextRect(const EphemeralRange&); |
350 IntRect ComputeTextRect(const EphemeralRangeInFlatTree&); | 350 IntRect ComputeTextRect(const EphemeralRangeInFlatTree&); |
351 FloatRect ComputeTextFloatRect(const EphemeralRange&); | 351 FloatRect ComputeTextFloatRect(const EphemeralRange&); |
352 | 352 |
| 353 // Export below functions only for |VisibleUnit| family. |
| 354 PositionWithAffinity HonorEditingBoundaryAtOrBefore(const PositionWithAffinity&, |
| 355 const Position&); |
| 356 |
| 357 PositionInFlatTreeWithAffinity HonorEditingBoundaryAtOrBefore( |
| 358 const PositionInFlatTreeWithAffinity&, |
| 359 const PositionInFlatTree&); |
| 360 |
| 361 VisiblePosition HonorEditingBoundaryAtOrAfter(const VisiblePosition&, |
| 362 const Position&); |
| 363 |
| 364 VisiblePositionInFlatTree HonorEditingBoundaryAtOrAfter( |
| 365 const VisiblePositionInFlatTree&, |
| 366 const PositionInFlatTree&); |
| 367 |
353 // Export below functions only for |SelectionModifier|. | 368 // Export below functions only for |SelectionModifier|. |
354 VisiblePosition HonorEditingBoundaryAtOrBefore(const VisiblePosition&, | 369 VisiblePosition HonorEditingBoundaryAtOrBefore(const VisiblePosition&, |
355 const Position&); | 370 const Position&); |
356 | 371 |
357 Position NextRootInlineBoxCandidatePosition(Node*, | 372 Position NextRootInlineBoxCandidatePosition(Node*, |
358 const VisiblePosition&, | 373 const VisiblePosition&, |
359 EditableType); | 374 EditableType); |
360 | 375 |
361 Position PreviousRootInlineBoxCandidatePosition(Node*, | 376 Position PreviousRootInlineBoxCandidatePosition(Node*, |
362 const VisiblePosition&, | 377 const VisiblePosition&, |
363 EditableType); | 378 EditableType); |
364 | 379 |
365 } // namespace blink | 380 } // namespace blink |
366 | 381 |
367 #endif // VisibleUnits_h | 382 #endif // VisibleUnits_h |
OLD | NEW |