Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 180 // by accessibility code first before normal input event processing. | 180 // by accessibility code first before normal input event processing. |
| 181 IsTouchAccessibility = 1 << 13, | 181 IsTouchAccessibility = 1 << 13, |
| 182 | 182 |
| 183 IsComposing = 1 << 14, | 183 IsComposing = 1 << 14, |
| 184 | 184 |
| 185 AltGrKey = 1 << 15, | 185 AltGrKey = 1 << 15, |
| 186 FnKey = 1 << 16, | 186 FnKey = 1 << 16, |
| 187 SymbolKey = 1 << 17, | 187 SymbolKey = 1 << 17, |
| 188 | 188 |
| 189 ScrollLockOn = 1 << 18, | 189 ScrollLockOn = 1 << 18, |
| 190 | |
| 191 // Indicates that a stylys event is using an eraser tool instead of a | |
| 192 // pen tool. Used by PPAPI. | |
| 193 IsEraser = 1 << 19 | |
|
mustaq
2016/08/30 18:13:48
Having both |IsEraser| and |PointerType::Eraser| l
| |
| 190 }; | 194 }; |
| 191 | 195 |
| 192 // Indicates whether the browser needs to block on the ACK result for | 196 // Indicates whether the browser needs to block on the ACK result for |
| 193 // this event, and if not why note (for metrics/diagnostics purposes). | 197 // this event, and if not why note (for metrics/diagnostics purposes). |
| 194 // These values are direct mappings of the values in PlatformEvent | 198 // These values are direct mappings of the values in PlatformEvent |
| 195 // so the values can be cast between the enumerations. static_asserts | 199 // so the values can be cast between the enumerations. static_asserts |
| 196 // checking this are in web/WebInputEventConversion.cpp. | 200 // checking this are in web/WebInputEventConversion.cpp. |
| 197 enum DispatchType { | 201 enum DispatchType { |
| 198 // Event can be canceled. | 202 // Event can be canceled. |
| 199 Blocking, | 203 Blocking, |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 643 , uniqueTouchEventId(0) | 647 , uniqueTouchEventId(0) |
| 644 { | 648 { |
| 645 } | 649 } |
| 646 }; | 650 }; |
| 647 | 651 |
| 648 #pragma pack(pop) | 652 #pragma pack(pop) |
| 649 | 653 |
| 650 } // namespace blink | 654 } // namespace blink |
| 651 | 655 |
| 652 #endif | 656 #endif |
| OLD | NEW |