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 15 matching lines...) Expand all Loading... |
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 "HTMLNames.h" | 31 #include "HTMLNames.h" |
32 #include "core/css/StylePropertySet.h" | 32 #include "core/css/StylePropertySet.h" |
33 #include "core/dom/CharacterData.h" | 33 #include "core/dom/CharacterData.h" |
34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
35 #include "core/dom/Element.h" | 35 #include "core/dom/Element.h" |
36 #include "core/dom/ExceptionCode.h" | |
37 #include "core/dom/NodeTraversal.h" | 36 #include "core/dom/NodeTraversal.h" |
38 #include "core/dom/Range.h" | 37 #include "core/dom/Range.h" |
39 #include "core/editing/DeleteSelectionCommand.h" | |
40 #include "core/editing/Editor.h" | 38 #include "core/editing/Editor.h" |
41 #include "core/editing/RenderedPosition.h" | 39 #include "core/editing/RenderedPosition.h" |
42 #include "core/editing/TextIterator.h" | |
43 #include "core/editing/TypingCommand.h" | 40 #include "core/editing/TypingCommand.h" |
44 #include "core/editing/VisibleUnits.h" | 41 #include "core/editing/VisibleUnits.h" |
45 #include "core/editing/htmlediting.h" | 42 #include "core/editing/htmlediting.h" |
46 #include "core/html/HTMLFormElement.h" | 43 #include "core/html/HTMLFormElement.h" |
47 #include "core/html/HTMLFrameElementBase.h" | 44 #include "core/html/HTMLFrameElementBase.h" |
48 #include "core/html/HTMLInputElement.h" | 45 #include "core/html/HTMLInputElement.h" |
49 #include "core/html/HTMLSelectElement.h" | 46 #include "core/html/HTMLSelectElement.h" |
50 #include "core/page/EditorClient.h" | 47 #include "core/page/EditorClient.h" |
51 #include "core/page/EventHandler.h" | 48 #include "core/page/EventHandler.h" |
52 #include "core/page/FocusController.h" | 49 #include "core/page/FocusController.h" |
53 #include "core/page/Frame.h" | 50 #include "core/page/Frame.h" |
54 #include "core/page/FrameTree.h" | 51 #include "core/page/FrameTree.h" |
55 #include "core/page/FrameView.h" | 52 #include "core/page/FrameView.h" |
56 #include "core/page/Page.h" | 53 #include "core/page/Page.h" |
57 #include "core/page/Settings.h" | 54 #include "core/page/Settings.h" |
58 #include "core/page/SpatialNavigation.h" | 55 #include "core/page/SpatialNavigation.h" |
59 #include "core/platform/SecureTextInput.h" | 56 #include "core/platform/SecureTextInput.h" |
60 #include "core/platform/graphics/FloatQuad.h" | 57 #include "core/platform/graphics/FloatQuad.h" |
61 #include "core/platform/graphics/GraphicsContext.h" | 58 #include "core/platform/graphics/GraphicsContext.h" |
62 #include "core/rendering/HitTestRequest.h" | 59 #include "core/rendering/HitTestRequest.h" |
63 #include "core/rendering/HitTestResult.h" | 60 #include "core/rendering/HitTestResult.h" |
64 #include "core/rendering/InlineTextBox.h" | 61 #include "core/rendering/InlineTextBox.h" |
65 #include "core/rendering/RenderText.h" | 62 #include "core/rendering/RenderText.h" |
66 #include "core/rendering/RenderTextControl.h" | |
67 #include "core/rendering/RenderTheme.h" | 63 #include "core/rendering/RenderTheme.h" |
68 #include "core/rendering/RenderView.h" | 64 #include "core/rendering/RenderView.h" |
69 #include "core/rendering/RenderWidget.h" | 65 #include "core/rendering/RenderWidget.h" |
70 #include <wtf/text/CString.h> | 66 #include <wtf/text/CString.h> |
71 | 67 |
72 #define EDIT_DEBUG 0 | 68 #define EDIT_DEBUG 0 |
73 | 69 |
74 namespace WebCore { | 70 namespace WebCore { |
75 | 71 |
76 using namespace HTMLNames; | 72 using namespace HTMLNames; |
(...skipping 1995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2072 sel.showTreeForThis(); | 2068 sel.showTreeForThis(); |
2073 } | 2069 } |
2074 | 2070 |
2075 void showTree(const WebCore::FrameSelection* sel) | 2071 void showTree(const WebCore::FrameSelection* sel) |
2076 { | 2072 { |
2077 if (sel) | 2073 if (sel) |
2078 sel->showTreeForThis(); | 2074 sel->showTreeForThis(); |
2079 } | 2075 } |
2080 | 2076 |
2081 #endif | 2077 #endif |
OLD | NEW |