| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, 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 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 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 #ifndef TextEventInputType_h | 26 #ifndef TextEventInputType_h |
| 27 #define TextEventInputType_h | 27 #define TextEventInputType_h |
| 28 | 28 |
| 29 namespace blink { | 29 namespace blink { |
| 30 | 30 |
| 31 enum TextEventInputType { | 31 enum TextEventInputType { |
| 32 TextEventInputKeyboard, // any newline characters in the text are line break
s only, not paragraph separators. | 32 // Any newline characters in the text are line breaks only, not paragraph |
| 33 TextEventInputLineBreak, // any tab characters in the text are backtabs. | 33 // separators. |
| 34 TextEventInputKeyboard, |
| 35 // Any tab characters in the text are backtabs. |
| 36 TextEventInputLineBreak, |
| 34 TextEventInputComposition, | 37 TextEventInputComposition, |
| 35 TextEventInputBackTab, | 38 TextEventInputBackTab, |
| 36 TextEventInputPaste, | 39 TextEventInputPaste, |
| 37 TextEventInputDrop, | 40 TextEventInputDrop, |
| 38 TextEventInputDictation, | 41 TextEventInputDictation, |
| 39 TextEventInputOther, | 42 TextEventInputOther, |
| 40 }; | 43 }; |
| 41 | 44 |
| 42 } // namespace blink | 45 } // namespace blink |
| 43 | 46 |
| 44 #endif // TextEventInputType_h | 47 #endif // TextEventInputType_h |
| OLD | NEW |