OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "core/editing/iterators/CharacterIterator.h" | 43 #include "core/editing/iterators/CharacterIterator.h" |
44 #include "core/editing/iterators/ForwardsTextBuffer.h" | 44 #include "core/editing/iterators/ForwardsTextBuffer.h" |
45 #include "core/editing/iterators/SimplifiedBackwardsTextIterator.h" | 45 #include "core/editing/iterators/SimplifiedBackwardsTextIterator.h" |
46 #include "core/editing/iterators/TextIterator.h" | 46 #include "core/editing/iterators/TextIterator.h" |
47 #include "core/frame/LocalFrame.h" | 47 #include "core/frame/LocalFrame.h" |
48 #include "core/frame/Settings.h" | 48 #include "core/frame/Settings.h" |
49 #include "core/html/HTMLBRElement.h" | 49 #include "core/html/HTMLBRElement.h" |
50 #include "core/html/HTMLTextFormControlElement.h" | 50 #include "core/html/HTMLTextFormControlElement.h" |
51 #include "core/layout/HitTestRequest.h" | 51 #include "core/layout/HitTestRequest.h" |
52 #include "core/layout/HitTestResult.h" | 52 #include "core/layout/HitTestResult.h" |
53 #include "core/layout/LayoutBlockFlow.h" | |
54 #include "core/layout/LayoutInline.h" | 53 #include "core/layout/LayoutInline.h" |
55 #include "core/layout/LayoutObject.h" | 54 #include "core/layout/LayoutObject.h" |
56 #include "core/layout/LayoutTextFragment.h" | 55 #include "core/layout/LayoutTextFragment.h" |
57 #include "core/layout/LayoutView.h" | 56 #include "core/layout/LayoutView.h" |
58 #include "core/layout/api/LayoutItem.h" | 57 #include "core/layout/api/LayoutItem.h" |
59 #include "core/layout/api/LayoutViewItem.h" | 58 #include "core/layout/api/LayoutViewItem.h" |
60 #include "core/layout/api/LineLayoutAPIShim.h" | 59 #include "core/layout/api/LineLayoutAPIShim.h" |
61 #include "core/layout/api/LineLayoutItem.h" | 60 #include "core/layout/api/LineLayoutItem.h" |
62 #include "core/layout/line/InlineIterator.h" | 61 #include "core/layout/line/InlineIterator.h" |
63 #include "core/layout/line/InlineTextBox.h" | 62 #include "core/layout/line/InlineTextBox.h" |
(...skipping 3189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3253 { | 3252 { |
3254 return previousPositionOfAlgorithm<EditingStrategy>(visiblePosition, rule); | 3253 return previousPositionOfAlgorithm<EditingStrategy>(visiblePosition, rule); |
3255 } | 3254 } |
3256 | 3255 |
3257 VisiblePositionInFlatTree previousPositionOf(const VisiblePositionInFlatTree& vi
siblePosition, EditingBoundaryCrossingRule rule) | 3256 VisiblePositionInFlatTree previousPositionOf(const VisiblePositionInFlatTree& vi
siblePosition, EditingBoundaryCrossingRule rule) |
3258 { | 3257 { |
3259 return previousPositionOfAlgorithm<EditingInFlatTreeStrategy>(visiblePositio
n, rule); | 3258 return previousPositionOfAlgorithm<EditingInFlatTreeStrategy>(visiblePositio
n, rule); |
3260 } | 3259 } |
3261 | 3260 |
3262 } // namespace blink | 3261 } // namespace blink |
OLD | NEW |