OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2008, 2009, 2010 Apple 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 10 matching lines...) Expand all Loading... |
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "core/editing/FrameSelection.h" | 27 #include "core/editing/FrameSelection.h" |
28 | 28 |
29 #include <limits.h> | 29 #include <limits.h> |
30 #include <stdio.h> | 30 #include <stdio.h> |
31 #include "CharacterData.h" | |
32 #include "Document.h" | |
33 #include "Element.h" | |
34 #include "ExceptionCode.h" | |
35 #include "HTMLFormElement.h" | 31 #include "HTMLFormElement.h" |
36 #include "HTMLFrameElementBase.h" | 32 #include "HTMLFrameElementBase.h" |
37 #include "HTMLInputElement.h" | 33 #include "HTMLInputElement.h" |
38 #include "HTMLNames.h" | 34 #include "HTMLNames.h" |
39 #include "HTMLSelectElement.h" | 35 #include "HTMLSelectElement.h" |
40 #include "NodeTraversal.h" | |
41 #include "Range.h" | |
42 #include "core/css/StylePropertySet.h" | 36 #include "core/css/StylePropertySet.h" |
| 37 #include "core/dom/CharacterData.h" |
| 38 #include "core/dom/Document.h" |
| 39 #include "core/dom/Element.h" |
| 40 #include "core/dom/ExceptionCode.h" |
| 41 #include "core/dom/NodeTraversal.h" |
| 42 #include "core/dom/Range.h" |
43 #include "core/editing/DeleteSelectionCommand.h" | 43 #include "core/editing/DeleteSelectionCommand.h" |
44 #include "core/editing/Editor.h" | 44 #include "core/editing/Editor.h" |
45 #include "core/editing/RenderedPosition.h" | 45 #include "core/editing/RenderedPosition.h" |
46 #include "core/editing/TextIterator.h" | 46 #include "core/editing/TextIterator.h" |
47 #include "core/editing/TypingCommand.h" | 47 #include "core/editing/TypingCommand.h" |
48 #include "core/editing/VisibleUnits.h" | 48 #include "core/editing/VisibleUnits.h" |
49 #include "core/editing/htmlediting.h" | 49 #include "core/editing/htmlediting.h" |
50 #include "core/page/EditorClient.h" | 50 #include "core/page/EditorClient.h" |
51 #include "core/page/EventHandler.h" | 51 #include "core/page/EventHandler.h" |
52 #include "core/page/FocusController.h" | 52 #include "core/page/FocusController.h" |
(...skipping 1996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2049 sel.showTreeForThis(); | 2049 sel.showTreeForThis(); |
2050 } | 2050 } |
2051 | 2051 |
2052 void showTree(const WebCore::FrameSelection* sel) | 2052 void showTree(const WebCore::FrameSelection* sel) |
2053 { | 2053 { |
2054 if (sel) | 2054 if (sel) |
2055 sel->showTreeForThis(); | 2055 sel->showTreeForThis(); |
2056 } | 2056 } |
2057 | 2057 |
2058 #endif | 2058 #endif |
OLD | NEW |