| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 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 #ifndef DeleteSelectionCommand_h | 26 #ifndef DeleteSelectionCommand_h |
| 27 #define DeleteSelectionCommand_h | 27 #define DeleteSelectionCommand_h |
| 28 | 28 |
| 29 #include "core/editing/commands/CompositeEditCommand.h" | 29 #include "core/editing/commands/CompositeEditCommand.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class EditingStyle; | 33 class EditingStyle; |
| 34 class HTMLTableRowElement; | 34 class HTMLTableRowElement; |
| 35 | 35 |
| 36 class DeleteSelectionCommand final : public CompositeEditCommand { | 36 class CORE_EXPORT DeleteSelectionCommand final : public CompositeEditCommand { |
| 37 public: | 37 public: |
| 38 static DeleteSelectionCommand* create( | 38 static DeleteSelectionCommand* create( |
| 39 Document& document, | 39 Document& document, |
| 40 bool smartDelete = false, | 40 bool smartDelete = false, |
| 41 bool mergeBlocksAfterDelete = true, | 41 bool mergeBlocksAfterDelete = true, |
| 42 bool expandForSpecialElements = false, | 42 bool expandForSpecialElements = false, |
| 43 bool sanitizeMarkup = true, | 43 bool sanitizeMarkup = true, |
| 44 InputEvent::InputType inputType = InputEvent::InputType::None, | 44 InputEvent::InputType inputType = InputEvent::InputType::None, |
| 45 const Position& referenceMovePosition = Position()) { | 45 const Position& referenceMovePosition = Position()) { |
| 46 return new DeleteSelectionCommand( | 46 return new DeleteSelectionCommand( |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 Member<Element> m_startRoot; | 129 Member<Element> m_startRoot; |
| 130 Member<Element> m_endRoot; | 130 Member<Element> m_endRoot; |
| 131 Member<HTMLTableRowElement> m_startTableRow; | 131 Member<HTMLTableRowElement> m_startTableRow; |
| 132 Member<HTMLTableRowElement> m_endTableRow; | 132 Member<HTMLTableRowElement> m_endTableRow; |
| 133 Member<Node> m_temporaryPlaceholder; | 133 Member<Node> m_temporaryPlaceholder; |
| 134 }; | 134 }; |
| 135 | 135 |
| 136 } // namespace blink | 136 } // namespace blink |
| 137 | 137 |
| 138 #endif // DeleteSelectionCommand_h | 138 #endif // DeleteSelectionCommand_h |
| OLD | NEW |