| 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 29 matching lines...) Expand all Loading... |
| 40 } | 40 } |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 SplitTextNodeCommand(PassRefPtr<Text>, int offset); | 43 SplitTextNodeCommand(PassRefPtr<Text>, int offset); |
| 44 | 44 |
| 45 virtual void doApply() OVERRIDE; | 45 virtual void doApply() OVERRIDE; |
| 46 virtual void doUnapply() OVERRIDE; | 46 virtual void doUnapply() OVERRIDE; |
| 47 virtual void doReapply() OVERRIDE; | 47 virtual void doReapply() OVERRIDE; |
| 48 void insertText1AndTrimText2(); | 48 void insertText1AndTrimText2(); |
| 49 | 49 |
| 50 #ifndef NDEBUG | |
| 51 virtual void getNodesInCommand(HashSet<Node*>&) OVERRIDE; | |
| 52 #endif | |
| 53 | |
| 54 RefPtr<Text> m_text1; | 50 RefPtr<Text> m_text1; |
| 55 RefPtr<Text> m_text2; | 51 RefPtr<Text> m_text2; |
| 56 unsigned m_offset; | 52 unsigned m_offset; |
| 57 }; | 53 }; |
| 58 | 54 |
| 59 } // namespace WebCore | 55 } // namespace WebCore |
| 60 | 56 |
| 61 #endif // SplitTextNodeCommand_h | 57 #endif // SplitTextNodeCommand_h |
| OLD | NEW |