OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
3 * Copyright (C) 2005 Alexey Proskuryakov. | 3 * Copyright (C) 2005 Alexey Proskuryakov. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 29 matching lines...) Expand all Loading... |
40 #include "core/editing/iterators/CharacterIterator.h" | 40 #include "core/editing/iterators/CharacterIterator.h" |
41 #include "core/editing/iterators/WordAwareIterator.h" | 41 #include "core/editing/iterators/WordAwareIterator.h" |
42 #include "core/frame/FrameView.h" | 42 #include "core/frame/FrameView.h" |
43 #include "core/frame/UseCounter.h" | 43 #include "core/frame/UseCounter.h" |
44 #include "core/html/HTMLElement.h" | 44 #include "core/html/HTMLElement.h" |
45 #include "core/html/HTMLImageElement.h" | 45 #include "core/html/HTMLImageElement.h" |
46 #include "core/html/HTMLInputElement.h" | 46 #include "core/html/HTMLInputElement.h" |
47 #include "core/html/HTMLTextFormControlElement.h" | 47 #include "core/html/HTMLTextFormControlElement.h" |
48 #include "core/layout/LayoutTableCell.h" | 48 #include "core/layout/LayoutTableCell.h" |
49 #include "core/layout/LayoutTableRow.h" | 49 #include "core/layout/LayoutTableRow.h" |
50 #include "core/layout/LayoutTextControl.h" | |
51 #include "core/layout/LayoutTextFragment.h" | 50 #include "core/layout/LayoutTextFragment.h" |
52 #include "core/layout/line/InlineTextBox.h" | 51 #include "core/layout/line/InlineTextBox.h" |
53 #include "platform/fonts/Font.h" | 52 #include "platform/fonts/Font.h" |
54 #include "wtf/text/CString.h" | 53 #include "wtf/text/CString.h" |
55 #include "wtf/text/StringBuilder.h" | 54 #include "wtf/text/StringBuilder.h" |
56 #include <algorithm> | 55 #include <algorithm> |
57 #include <unicode/utf16.h> | 56 #include <unicode/utf16.h> |
58 | 57 |
59 using namespace WTF::Unicode; | 58 using namespace WTF::Unicode; |
60 | 59 |
(...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1185 | 1184 |
1186 String plainText(const EphemeralRangeInFlatTree& range, TextIteratorBehaviorFlag
s behavior) | 1185 String plainText(const EphemeralRangeInFlatTree& range, TextIteratorBehaviorFlag
s behavior) |
1187 { | 1186 { |
1188 return createPlainText<EditingInFlatTreeStrategy>(range, behavior); | 1187 return createPlainText<EditingInFlatTreeStrategy>(range, behavior); |
1189 } | 1188 } |
1190 | 1189 |
1191 template class CORE_TEMPLATE_EXPORT TextIteratorAlgorithm<EditingStrategy>; | 1190 template class CORE_TEMPLATE_EXPORT TextIteratorAlgorithm<EditingStrategy>; |
1192 template class CORE_TEMPLATE_EXPORT TextIteratorAlgorithm<EditingInFlatTreeStrat
egy>; | 1191 template class CORE_TEMPLATE_EXPORT TextIteratorAlgorithm<EditingInFlatTreeStrat
egy>; |
1193 | 1192 |
1194 } // namespace blink | 1193 } // namespace blink |
OLD | NEW |