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 15 matching lines...) Expand all Loading... |
26 #include "config.h" | 26 #include "config.h" |
27 #include "CompositeEditCommand.h" | 27 #include "CompositeEditCommand.h" |
28 | 28 |
29 #include "AppendNodeCommand.h" | 29 #include "AppendNodeCommand.h" |
30 #include "ApplyStyleCommand.h" | 30 #include "ApplyStyleCommand.h" |
31 #include "DeleteFromTextNodeCommand.h" | 31 #include "DeleteFromTextNodeCommand.h" |
32 #include "DeleteSelectionCommand.h" | 32 #include "DeleteSelectionCommand.h" |
33 #include "Document.h" | 33 #include "Document.h" |
34 #include "DocumentFragment.h" | 34 #include "DocumentFragment.h" |
35 #include "DocumentMarkerController.h" | 35 #include "DocumentMarkerController.h" |
| 36 #include "Editor.h" |
36 #include "EditorInsertAction.h" | 37 #include "EditorInsertAction.h" |
37 #include "ExceptionCodePlaceholder.h" | 38 #include "ExceptionCodePlaceholder.h" |
38 #include "Frame.h" | 39 #include "Frame.h" |
39 #include "HTMLElement.h" | 40 #include "HTMLElement.h" |
40 #include "HTMLNames.h" | 41 #include "HTMLNames.h" |
41 #include "InlineTextBox.h" | 42 #include "InlineTextBox.h" |
42 #include "InsertIntoTextNodeCommand.h" | 43 #include "InsertIntoTextNodeCommand.h" |
43 #include "InsertLineBreakCommand.h" | 44 #include "InsertLineBreakCommand.h" |
44 #include "InsertNodeBeforeCommand.h" | 45 #include "InsertNodeBeforeCommand.h" |
45 #include "InsertParagraphSeparatorCommand.h" | 46 #include "InsertParagraphSeparatorCommand.h" |
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1458 return node.release(); | 1459 return node.release(); |
1459 } | 1460 } |
1460 | 1461 |
1461 PassRefPtr<Element> createBlockPlaceholderElement(Document* document) | 1462 PassRefPtr<Element> createBlockPlaceholderElement(Document* document) |
1462 { | 1463 { |
1463 RefPtr<Element> breakNode = document->createElement(brTag, false); | 1464 RefPtr<Element> breakNode = document->createElement(brTag, false); |
1464 return breakNode.release(); | 1465 return breakNode.release(); |
1465 } | 1466 } |
1466 | 1467 |
1467 } // namespace WebCore | 1468 } // namespace WebCore |
OLD | NEW |