OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006 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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #include "core/editing/VisibleSelection.h" | 26 #include "core/editing/VisibleSelection.h" |
27 | 27 |
28 #include "bindings/core/v8/ExceptionState.h" | 28 #include "bindings/core/v8/ExceptionState.h" |
29 #include "core/dom/Document.h" | 29 #include "core/dom/Document.h" |
30 #include "core/dom/Element.h" | 30 #include "core/dom/Element.h" |
31 #include "core/dom/Range.h" | 31 #include "core/dom/Range.h" |
32 #include "core/editing/EditingUtilities.h" | 32 #include "core/editing/EditingUtilities.h" |
33 #include "core/editing/SelectionAdjuster.h" | 33 #include "core/editing/SelectionAdjuster.h" |
34 #include "core/editing/iterators/CharacterIterator.h" | 34 #include "core/editing/iterators/CharacterIterator.h" |
35 #include "core/layout/LayoutObject.h" | |
36 #include "platform/geometry/LayoutPoint.h" | 35 #include "platform/geometry/LayoutPoint.h" |
37 #include "wtf/Assertions.h" | 36 #include "wtf/Assertions.h" |
38 #include "wtf/text/CString.h" | 37 #include "wtf/text/CString.h" |
39 #include "wtf/text/CharacterNames.h" | 38 #include "wtf/text/CharacterNames.h" |
40 #include "wtf/text/StringBuilder.h" | 39 #include "wtf/text/StringBuilder.h" |
41 | 40 |
42 namespace blink { | 41 namespace blink { |
43 | 42 |
44 template <typename Strategy> | 43 template <typename Strategy> |
45 VisibleSelectionTemplate<Strategy>::VisibleSelectionTemplate() | 44 VisibleSelectionTemplate<Strategy>::VisibleSelectionTemplate() |
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
843 | 842 |
844 void showTree(const blink::VisibleSelectionInFlatTree& sel) { | 843 void showTree(const blink::VisibleSelectionInFlatTree& sel) { |
845 sel.showTreeForThis(); | 844 sel.showTreeForThis(); |
846 } | 845 } |
847 | 846 |
848 void showTree(const blink::VisibleSelectionInFlatTree* sel) { | 847 void showTree(const blink::VisibleSelectionInFlatTree* sel) { |
849 if (sel) | 848 if (sel) |
850 sel->showTreeForThis(); | 849 sel->showTreeForThis(); |
851 } | 850 } |
852 #endif | 851 #endif |
OLD | NEW |