OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no) | 3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no) |
4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no) | 4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no) |
5 * (C) 2001 Peter Kelly (pmk@post.com) | 5 * (C) 2001 Peter Kelly (pmk@post.com) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 7 * Copyright (C) 2011 Motorola Mobility. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "core/dom/NodeTraversal.h" | 36 #include "core/dom/NodeTraversal.h" |
37 #include "core/dom/NodeWithIndex.h" | 37 #include "core/dom/NodeWithIndex.h" |
38 #include "core/dom/ProcessingInstruction.h" | 38 #include "core/dom/ProcessingInstruction.h" |
39 #include "core/events/ScopedEventQueue.h" | 39 #include "core/events/ScopedEventQueue.h" |
40 #include "core/dom/Text.h" | 40 #include "core/dom/Text.h" |
41 #include "core/editing/TextIterator.h" | 41 #include "core/editing/TextIterator.h" |
42 #include "core/editing/VisiblePosition.h" | 42 #include "core/editing/VisiblePosition.h" |
43 #include "core/editing/VisibleUnits.h" | 43 #include "core/editing/VisibleUnits.h" |
44 #include "core/editing/markup.h" | 44 #include "core/editing/markup.h" |
45 #include "core/html/HTMLElement.h" | 45 #include "core/html/HTMLElement.h" |
46 #include "core/platform/graphics/FloatQuad.h" | |
47 #include "core/rendering/RenderBoxModelObject.h" | 46 #include "core/rendering/RenderBoxModelObject.h" |
48 #include "core/rendering/RenderText.h" | 47 #include "core/rendering/RenderText.h" |
| 48 #include "platform/geometry/FloatQuad.h" |
49 #include "wtf/RefCountedLeakCounter.h" | 49 #include "wtf/RefCountedLeakCounter.h" |
50 #include "wtf/Vector.h" | 50 #include "wtf/Vector.h" |
51 #include "wtf/text/CString.h" | 51 #include "wtf/text/CString.h" |
52 #include "wtf/text/StringBuilder.h" | 52 #include "wtf/text/StringBuilder.h" |
53 #ifndef NDEBUG | 53 #ifndef NDEBUG |
54 #include <stdio.h> | 54 #include <stdio.h> |
55 #endif | 55 #endif |
56 | 56 |
57 namespace WebCore { | 57 namespace WebCore { |
58 | 58 |
(...skipping 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1901 | 1901 |
1902 void showTree(const WebCore::Range* range) | 1902 void showTree(const WebCore::Range* range) |
1903 { | 1903 { |
1904 if (range && range->boundaryPointsValid()) { | 1904 if (range && range->boundaryPointsValid()) { |
1905 range->startContainer()->showTreeAndMark(range->startContainer(), "S", r
ange->endContainer(), "E"); | 1905 range->startContainer()->showTreeAndMark(range->startContainer(), "S", r
ange->endContainer(), "E"); |
1906 fprintf(stderr, "start offset: %d, end offset: %d\n", range->startOffset
(), range->endOffset()); | 1906 fprintf(stderr, "start offset: %d, end offset: %d\n", range->startOffset
(), range->endOffset()); |
1907 } | 1907 } |
1908 } | 1908 } |
1909 | 1909 |
1910 #endif | 1910 #endif |
OLD | NEW |