| 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 12 matching lines...) Expand all Loading... |
| 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/CompositeEditCommand.h" | 27 #include "core/editing/CompositeEditCommand.h" |
| 28 | 28 |
| 29 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | 29 #include "bindings/core/v8/ExceptionStatePlaceholder.h" |
| 30 #include "core/HTMLNames.h" | 30 #include "core/HTMLNames.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" | |
| 34 #include "core/dom/ElementTraversal.h" | 33 #include "core/dom/ElementTraversal.h" |
| 35 #include "core/dom/NodeTraversal.h" | 34 #include "core/dom/NodeTraversal.h" |
| 36 #include "core/dom/Range.h" | 35 #include "core/dom/Range.h" |
| 37 #include "core/dom/Text.h" | 36 #include "core/dom/Text.h" |
| 38 #include "core/editing/AppendNodeCommand.h" | 37 #include "core/editing/AppendNodeCommand.h" |
| 39 #include "core/editing/ApplyStyleCommand.h" | 38 #include "core/editing/ApplyStyleCommand.h" |
| 40 #include "core/editing/DeleteFromTextNodeCommand.h" | 39 #include "core/editing/DeleteFromTextNodeCommand.h" |
| 41 #include "core/editing/DeleteSelectionCommand.h" | 40 #include "core/editing/DeleteSelectionCommand.h" |
| 42 #include "core/editing/EditingUtilities.h" | 41 #include "core/editing/EditingUtilities.h" |
| 43 #include "core/editing/Editor.h" | 42 #include "core/editing/Editor.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 54 #include "core/editing/ReplaceSelectionCommand.h" | 53 #include "core/editing/ReplaceSelectionCommand.h" |
| 55 #include "core/editing/Serialization.h" | 54 #include "core/editing/Serialization.h" |
| 56 #include "core/editing/SetNodeAttributeCommand.h" | 55 #include "core/editing/SetNodeAttributeCommand.h" |
| 57 #include "core/editing/SpellChecker.h" | 56 #include "core/editing/SpellChecker.h" |
| 58 #include "core/editing/SplitElementCommand.h" | 57 #include "core/editing/SplitElementCommand.h" |
| 59 #include "core/editing/SplitTextNodeCommand.h" | 58 #include "core/editing/SplitTextNodeCommand.h" |
| 60 #include "core/editing/SplitTextNodeContainingElementCommand.h" | 59 #include "core/editing/SplitTextNodeContainingElementCommand.h" |
| 61 #include "core/editing/VisibleUnits.h" | 60 #include "core/editing/VisibleUnits.h" |
| 62 #include "core/editing/WrapContentsInDummySpanCommand.h" | 61 #include "core/editing/WrapContentsInDummySpanCommand.h" |
| 63 #include "core/editing/iterators/TextIterator.h" | 62 #include "core/editing/iterators/TextIterator.h" |
| 63 #include "core/editing/markers/DocumentMarkerController.h" |
| 64 #include "core/events/ScopedEventQueue.h" | 64 #include "core/events/ScopedEventQueue.h" |
| 65 #include "core/frame/LocalFrame.h" | 65 #include "core/frame/LocalFrame.h" |
| 66 #include "core/html/HTMLBRElement.h" | 66 #include "core/html/HTMLBRElement.h" |
| 67 #include "core/html/HTMLDivElement.h" | 67 #include "core/html/HTMLDivElement.h" |
| 68 #include "core/html/HTMLElement.h" | 68 #include "core/html/HTMLElement.h" |
| 69 #include "core/html/HTMLLIElement.h" | 69 #include "core/html/HTMLLIElement.h" |
| 70 #include "core/html/HTMLQuoteElement.h" | 70 #include "core/html/HTMLQuoteElement.h" |
| 71 #include "core/html/HTMLSpanElement.h" | 71 #include "core/html/HTMLSpanElement.h" |
| 72 #include "core/layout/LayoutBlock.h" | 72 #include "core/layout/LayoutBlock.h" |
| 73 #include "core/layout/LayoutListItem.h" | 73 #include "core/layout/LayoutListItem.h" |
| (...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1499 } | 1499 } |
| 1500 | 1500 |
| 1501 DEFINE_TRACE(CompositeEditCommand) | 1501 DEFINE_TRACE(CompositeEditCommand) |
| 1502 { | 1502 { |
| 1503 visitor->trace(m_commands); | 1503 visitor->trace(m_commands); |
| 1504 visitor->trace(m_composition); | 1504 visitor->trace(m_composition); |
| 1505 EditCommand::trace(visitor); | 1505 EditCommand::trace(visitor); |
| 1506 } | 1506 } |
| 1507 | 1507 |
| 1508 } // namespace blink | 1508 } // namespace blink |
| OLD | NEW |