OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2007, 2008 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 22 matching lines...) Expand all Loading... |
33 #include "core/dom/ExceptionCodePlaceholder.h" | 33 #include "core/dom/ExceptionCodePlaceholder.h" |
34 #include "core/dom/NodeTraversal.h" | 34 #include "core/dom/NodeTraversal.h" |
35 #include "core/dom/Range.h" | 35 #include "core/dom/Range.h" |
36 #include "core/dom/ScopedEventQueue.h" | 36 #include "core/dom/ScopedEventQueue.h" |
37 #include "core/dom/Text.h" | 37 #include "core/dom/Text.h" |
38 #include "core/editing/AppendNodeCommand.h" | 38 #include "core/editing/AppendNodeCommand.h" |
39 #include "core/editing/ApplyStyleCommand.h" | 39 #include "core/editing/ApplyStyleCommand.h" |
40 #include "core/editing/DeleteFromTextNodeCommand.h" | 40 #include "core/editing/DeleteFromTextNodeCommand.h" |
41 #include "core/editing/DeleteSelectionCommand.h" | 41 #include "core/editing/DeleteSelectionCommand.h" |
42 #include "core/editing/Editor.h" | 42 #include "core/editing/Editor.h" |
43 #include "core/editing/EditorInsertAction.h" | |
44 #include "core/editing/InsertIntoTextNodeCommand.h" | 43 #include "core/editing/InsertIntoTextNodeCommand.h" |
45 #include "core/editing/InsertLineBreakCommand.h" | 44 #include "core/editing/InsertLineBreakCommand.h" |
46 #include "core/editing/InsertNodeBeforeCommand.h" | 45 #include "core/editing/InsertNodeBeforeCommand.h" |
47 #include "core/editing/InsertParagraphSeparatorCommand.h" | 46 #include "core/editing/InsertParagraphSeparatorCommand.h" |
48 #include "core/editing/InsertTextCommand.h" | |
49 #include "core/editing/MergeIdenticalElementsCommand.h" | 47 #include "core/editing/MergeIdenticalElementsCommand.h" |
50 #include "core/editing/RemoveCSSPropertyCommand.h" | 48 #include "core/editing/RemoveCSSPropertyCommand.h" |
51 #include "core/editing/RemoveNodeCommand.h" | 49 #include "core/editing/RemoveNodeCommand.h" |
52 #include "core/editing/RemoveNodePreservingChildrenCommand.h" | 50 #include "core/editing/RemoveNodePreservingChildrenCommand.h" |
53 #include "core/editing/ReplaceNodeWithSpanCommand.h" | 51 #include "core/editing/ReplaceNodeWithSpanCommand.h" |
54 #include "core/editing/ReplaceSelectionCommand.h" | 52 #include "core/editing/ReplaceSelectionCommand.h" |
55 #include "core/editing/SetNodeAttributeCommand.h" | 53 #include "core/editing/SetNodeAttributeCommand.h" |
56 #include "core/editing/SplitElementCommand.h" | 54 #include "core/editing/SplitElementCommand.h" |
57 #include "core/editing/SplitTextNodeCommand.h" | 55 #include "core/editing/SplitTextNodeCommand.h" |
58 #include "core/editing/SplitTextNodeContainingElementCommand.h" | 56 #include "core/editing/SplitTextNodeContainingElementCommand.h" |
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1459 return node.release(); | 1457 return node.release(); |
1460 } | 1458 } |
1461 | 1459 |
1462 PassRefPtr<Element> createBlockPlaceholderElement(Document* document) | 1460 PassRefPtr<Element> createBlockPlaceholderElement(Document* document) |
1463 { | 1461 { |
1464 RefPtr<Element> breakNode = document->createElement(brTag, false); | 1462 RefPtr<Element> breakNode = document->createElement(brTag, false); |
1465 return breakNode.release(); | 1463 return breakNode.release(); |
1466 } | 1464 } |
1467 | 1465 |
1468 } // namespace WebCore | 1466 } // namespace WebCore |
OLD | NEW |