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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 bool breakOutOfEmptyListItem(); | 161 bool breakOutOfEmptyListItem(); |
162 bool breakOutOfEmptyMailBlockquotedParagraph(); | 162 bool breakOutOfEmptyMailBlockquotedParagraph(); |
163 | 163 |
164 Position positionAvoidingSpecialElementBoundary(const Position&); | 164 Position positionAvoidingSpecialElementBoundary(const Position&); |
165 | 165 |
166 PassRefPtr<Node> splitTreeToNode(Node*, Node*, bool splitAncestor = false); | 166 PassRefPtr<Node> splitTreeToNode(Node*, Node*, bool splitAncestor = false); |
167 | 167 |
168 Vector<RefPtr<EditCommand> > m_commands; | 168 Vector<RefPtr<EditCommand> > m_commands; |
169 | 169 |
170 private: | 170 private: |
171 bool isCompositeEditCommand() const OVERRIDE FINAL { return true; } | 171 virtual bool isCompositeEditCommand() const OVERRIDE FINAL { return true; } |
172 | 172 |
173 RefPtr<EditCommandComposition> m_composition; | 173 RefPtr<EditCommandComposition> m_composition; |
174 }; | 174 }; |
175 | 175 |
176 DEFINE_TYPE_CASTS(CompositeEditCommand, EditCommand, command, command->isComposi
teEditCommand(), command.isCompositeEditCommand()); | 176 DEFINE_TYPE_CASTS(CompositeEditCommand, EditCommand, command, command->isComposi
teEditCommand(), command.isCompositeEditCommand()); |
177 | 177 |
178 } // namespace WebCore | 178 } // namespace WebCore |
179 | 179 |
180 #endif // CompositeEditCommand_h | 180 #endif // CompositeEditCommand_h |
OLD | NEW |