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 IsTouchAccessibility = 1 << 13, | 180 IsTouchAccessibility = 1 << 13, |
181 | 181 |
182 IsComposing = 1 << 14, | 182 IsComposing = 1 << 14, |
183 | 183 |
184 AltGrKey = 1 << 15, | 184 AltGrKey = 1 << 15, |
185 FnKey = 1 << 16, | 185 FnKey = 1 << 16, |
186 SymbolKey = 1 << 17, | 186 SymbolKey = 1 << 17, |
187 | 187 |
188 ScrollLockOn = 1 << 18, | 188 ScrollLockOn = 1 << 18, |
189 | 189 |
190 // Whether this is a compatibility event generated due to a | |
191 // native touch event. Mouse events generated from touch | |
192 // events will this. | |
bokan
2017/01/27 16:57:17
nit: "will set this"
dtapuska
2017/01/27 21:00:00
Done.
| |
193 IsCompatibilityEventForTouch = 1 << 19, | |
194 | |
190 // The set of non-stateful modifiers that specifically change the | 195 // The set of non-stateful modifiers that specifically change the |
191 // interpretation of the key being pressed. For example; IsLeft, | 196 // interpretation of the key being pressed. For example; IsLeft, |
192 // IsRight, IsComposing don't change the meaning of the key | 197 // IsRight, IsComposing don't change the meaning of the key |
193 // being pressed. NumLockOn, ScrollLockOn, CapsLockOn are stateful | 198 // being pressed. NumLockOn, ScrollLockOn, CapsLockOn are stateful |
194 // and don't indicate explicit depressed state. | 199 // and don't indicate explicit depressed state. |
195 KeyModifiers = | 200 KeyModifiers = |
196 SymbolKey | FnKey | AltGrKey | MetaKey | AltKey | ControlKey | ShiftKey, | 201 SymbolKey | FnKey | AltGrKey | MetaKey | AltKey | ControlKey | ShiftKey, |
197 NoModifiers = 0, | 202 NoModifiers = 0, |
198 }; | 203 }; |
199 | 204 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
332 unsigned m_size; // The size of this structure, for serialization. | 337 unsigned m_size; // The size of this structure, for serialization. |
333 Type m_type; | 338 Type m_type; |
334 int m_modifiers; | 339 int m_modifiers; |
335 }; | 340 }; |
336 | 341 |
337 #pragma pack(pop) | 342 #pragma pack(pop) |
338 | 343 |
339 } // namespace blink | 344 } // namespace blink |
340 | 345 |
341 #endif | 346 #endif |
OLD | NEW |