| 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 21 matching lines...) Expand all Loading... |
| 32 #include "sky/engine/core/dom/Document.h" | 32 #include "sky/engine/core/dom/Document.h" |
| 33 #include "sky/engine/core/dom/NodeTraversal.h" | 33 #include "sky/engine/core/dom/NodeTraversal.h" |
| 34 #include "sky/engine/core/dom/shadow/ShadowRoot.h" | 34 #include "sky/engine/core/dom/shadow/ShadowRoot.h" |
| 35 #include "sky/engine/core/editing/VisiblePosition.h" | 35 #include "sky/engine/core/editing/VisiblePosition.h" |
| 36 #include "sky/engine/core/editing/VisibleUnits.h" | 36 #include "sky/engine/core/editing/VisibleUnits.h" |
| 37 #include "sky/engine/core/editing/htmlediting.h" | 37 #include "sky/engine/core/editing/htmlediting.h" |
| 38 #include "sky/engine/core/frame/FrameView.h" | 38 #include "sky/engine/core/frame/FrameView.h" |
| 39 #include "sky/engine/core/html/HTMLElement.h" | 39 #include "sky/engine/core/html/HTMLElement.h" |
| 40 #include "sky/engine/core/rendering/InlineTextBox.h" | 40 #include "sky/engine/core/rendering/InlineTextBox.h" |
| 41 #include "sky/engine/core/rendering/RenderBlock.h" | 41 #include "sky/engine/core/rendering/RenderBlock.h" |
| 42 #include "sky/engine/core/rendering/RenderImage.h" | |
| 43 #include "sky/engine/platform/fonts/Character.h" | 42 #include "sky/engine/platform/fonts/Character.h" |
| 44 #include "sky/engine/platform/fonts/Font.h" | 43 #include "sky/engine/platform/fonts/Font.h" |
| 45 #include "sky/engine/platform/text/TextBoundaries.h" | 44 #include "sky/engine/platform/text/TextBoundaries.h" |
| 46 #include "sky/engine/platform/text/TextBreakIteratorInternalICU.h" | 45 #include "sky/engine/platform/text/TextBreakIteratorInternalICU.h" |
| 47 #include "sky/engine/platform/text/UnicodeUtilities.h" | 46 #include "sky/engine/platform/text/UnicodeUtilities.h" |
| 48 #include "sky/engine/wtf/text/CString.h" | 47 #include "sky/engine/wtf/text/CString.h" |
| 49 #include "sky/engine/wtf/text/StringBuilder.h" | 48 #include "sky/engine/wtf/text/StringBuilder.h" |
| 50 #include "sky/engine/wtf/unicode/CharacterNames.h" | 49 #include "sky/engine/wtf/unicode/CharacterNames.h" |
| 51 | 50 |
| 52 using namespace WTF::Unicode; | 51 using namespace WTF::Unicode; |
| (...skipping 1828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1881 resultEnd = collapseTo; | 1880 resultEnd = collapseTo; |
| 1882 return; | 1881 return; |
| 1883 } | 1882 } |
| 1884 } | 1883 } |
| 1885 | 1884 |
| 1886 CharacterIterator computeRangeIterator(inputStart, inputEnd, iteratorFlagsFo
rFindPlainText); | 1885 CharacterIterator computeRangeIterator(inputStart, inputEnd, iteratorFlagsFo
rFindPlainText); |
| 1887 calculateCharacterSubrange(computeRangeIterator, matchStart, matchLength, re
sultStart, resultEnd); | 1886 calculateCharacterSubrange(computeRangeIterator, matchStart, matchLength, re
sultStart, resultEnd); |
| 1888 } | 1887 } |
| 1889 | 1888 |
| 1890 } | 1889 } |
| OLD | NEW |