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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 case InputEvent::InputType::InsertLineBreak: | 99 case InputEvent::InputType::InsertLineBreak: |
100 case InputEvent::InputType::InsertParagraph: | 100 case InputEvent::InputType::InsertParagraph: |
101 case InputEvent::InputType::InsertFromPaste: | 101 case InputEvent::InputType::InsertFromPaste: |
102 case InputEvent::InputType::InsertFromDrop: | 102 case InputEvent::InputType::InsertFromDrop: |
103 case InputEvent::InputType::InsertFromYank: | 103 case InputEvent::InputType::InsertFromYank: |
104 case InputEvent::InputType::InsertTranspose: | 104 case InputEvent::InputType::InsertTranspose: |
105 case InputEvent::InputType::InsertReplacementText: | 105 case InputEvent::InputType::InsertReplacementText: |
106 case InputEvent::InputType::InsertCompositionText: | 106 case InputEvent::InputType::InsertCompositionText: |
107 case InputEvent::InputType::DeleteWordBackward: | 107 case InputEvent::InputType::DeleteWordBackward: |
108 case InputEvent::InputType::DeleteWordForward: | 108 case InputEvent::InputType::DeleteWordForward: |
109 case InputEvent::InputType::DeleteLineBackward: | 109 case InputEvent::InputType::DeleteSoftLineBackward: |
110 case InputEvent::InputType::DeleteLineForward: | 110 case InputEvent::InputType::DeleteSoftLineForward: |
| 111 case InputEvent::InputType::DeleteHardLineBackward: |
| 112 case InputEvent::InputType::DeleteHardLineForward: |
111 case InputEvent::InputType::DeleteContentBackward: | 113 case InputEvent::InputType::DeleteContentBackward: |
112 case InputEvent::InputType::DeleteContentForward: | 114 case InputEvent::InputType::DeleteContentForward: |
113 case InputEvent::InputType::DeleteByCut: | 115 case InputEvent::InputType::DeleteByCut: |
114 case InputEvent::InputType::DeleteByDrag: | 116 case InputEvent::InputType::DeleteByDrag: |
115 case InputEvent::InputType::None: | 117 case InputEvent::InputType::None: |
116 break; | 118 break; |
117 default: | 119 default: |
118 NOTREACHED() << "Not supported input type on plain-text only element:" | 120 NOTREACHED() << "Not supported input type on plain-text only element:" |
119 << static_cast<int>(inputType()); | 121 << static_cast<int>(inputType()); |
120 return false; | 122 return false; |
(...skipping 1875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1996 | 1998 |
1997 DEFINE_TRACE(CompositeEditCommand) { | 1999 DEFINE_TRACE(CompositeEditCommand) { |
1998 visitor->trace(m_commands); | 2000 visitor->trace(m_commands); |
1999 visitor->trace(m_startingSelection); | 2001 visitor->trace(m_startingSelection); |
2000 visitor->trace(m_endingSelection); | 2002 visitor->trace(m_endingSelection); |
2001 visitor->trace(m_undoStep); | 2003 visitor->trace(m_undoStep); |
2002 EditCommand::trace(visitor); | 2004 EditCommand::trace(visitor); |
2003 } | 2005 } |
2004 | 2006 |
2005 } // namespace blink | 2007 } // namespace blink |
OLD | NEW |