| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 165 |
| 166 // Toggle modifiers for all events. Danger: these are not reflected | 166 // Toggle modifiers for all events. Danger: these are not reflected |
| 167 // into WebCore, so round-tripping from WebInputEvent to a WebCore | 167 // into WebCore, so round-tripping from WebInputEvent to a WebCore |
| 168 // event and back will not preserve these flags. | 168 // event and back will not preserve these flags. |
| 169 CapsLockOn = 1 << 9, | 169 CapsLockOn = 1 << 9, |
| 170 NumLockOn = 1 << 10, | 170 NumLockOn = 1 << 10, |
| 171 | 171 |
| 172 // Left/right modifiers for keyboard events. | 172 // Left/right modifiers for keyboard events. |
| 173 IsLeft = 1 << 11, | 173 IsLeft = 1 << 11, |
| 174 IsRight = 1 << 12, | 174 IsRight = 1 << 12, |
| 175 |
| 176 // Indicates that an event was generated on the touch screen while |
| 177 // touch accessibility is enabled, so the event should be handled |
| 178 // by accessibility code first before normal input event processing. |
| 179 IsTouchAccessibility = 1 << 13 |
| 175 }; | 180 }; |
| 176 | 181 |
| 177 // The rail mode for a wheel event specifies the axis on which scrolling is | 182 // The rail mode for a wheel event specifies the axis on which scrolling is |
| 178 // expected to stick. If this axis is set to Free, then scrolling is not | 183 // expected to stick. If this axis is set to Free, then scrolling is not |
| 179 // stuck to any axis. | 184 // stuck to any axis. |
| 180 enum RailsMode { | 185 enum RailsMode { |
| 181 RailsModeFree = 0, | 186 RailsModeFree = 0, |
| 182 RailsModeHorizontal = 1, | 187 RailsModeHorizontal = 1, |
| 183 RailsModeVertical = 2, | 188 RailsModeVertical = 2, |
| 184 }; | 189 }; |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 , uniqueTouchEventId(0) | 571 , uniqueTouchEventId(0) |
| 567 { | 572 { |
| 568 } | 573 } |
| 569 }; | 574 }; |
| 570 | 575 |
| 571 #pragma pack(pop) | 576 #pragma pack(pop) |
| 572 | 577 |
| 573 } // namespace blink | 578 } // namespace blink |
| 574 | 579 |
| 575 #endif | 580 #endif |
| OLD | NEW |