| 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 "core/editing/CompositeEditCommand.h" | 27 #include "core/editing/CompositeEditCommand.h" |
| 28 | 28 |
| 29 #include "HTMLNames.h" | 29 #include "HTMLNames.h" |
| 30 #include "bindings/v8/ExceptionStatePlaceholder.h" | 30 #include "bindings/v8/ExceptionStatePlaceholder.h" |
| 31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
| 32 #include "core/dom/DocumentFragment.h" | 32 #include "core/dom/DocumentFragment.h" |
| 33 #include "core/dom/DocumentMarkerController.h" | 33 #include "core/dom/DocumentMarkerController.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/events/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/InsertIntoTextNodeCommand.h" | 43 #include "core/editing/InsertIntoTextNodeCommand.h" |
| 44 #include "core/editing/InsertLineBreakCommand.h" | 44 #include "core/editing/InsertLineBreakCommand.h" |
| 45 #include "core/editing/InsertNodeBeforeCommand.h" | 45 #include "core/editing/InsertNodeBeforeCommand.h" |
| 46 #include "core/editing/InsertParagraphSeparatorCommand.h" | 46 #include "core/editing/InsertParagraphSeparatorCommand.h" |
| (...skipping 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1456 return node.release(); | 1456 return node.release(); |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 PassRefPtr<Element> createBlockPlaceholderElement(Document& document) | 1459 PassRefPtr<Element> createBlockPlaceholderElement(Document& document) |
| 1460 { | 1460 { |
| 1461 RefPtr<Element> breakNode = document.createElement(brTag, false); | 1461 RefPtr<Element> breakNode = document.createElement(brTag, false); |
| 1462 return breakNode.release(); | 1462 return breakNode.release(); |
| 1463 } | 1463 } |
| 1464 | 1464 |
| 1465 } // namespace WebCore | 1465 } // namespace WebCore |
| OLD | NEW |