| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006-2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2006-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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 case VK_END: | 61 case VK_END: |
| 62 case VK_PRIOR: | 62 case VK_PRIOR: |
| 63 case VK_NEXT: | 63 case VK_NEXT: |
| 64 case VK_UP: | 64 case VK_UP: |
| 65 case VK_DOWN: | 65 case VK_DOWN: |
| 66 case VK_LEFT: | 66 case VK_LEFT: |
| 67 case VK_RIGHT: | 67 case VK_RIGHT: |
| 68 if (!((lparam >> 16) & KF_EXTENDED)) | 68 if (!((lparam >> 16) & KF_EXTENDED)) |
| 69 modifier = WebInputEvent::IsKeyPad; | 69 modifier = WebInputEvent::IsKeyPad; |
| 70 break; | 70 break; |
| 71 case VK_NUMLOCK: | |
| 72 case VK_NUMPAD0: | 71 case VK_NUMPAD0: |
| 73 case VK_NUMPAD1: | 72 case VK_NUMPAD1: |
| 74 case VK_NUMPAD2: | 73 case VK_NUMPAD2: |
| 75 case VK_NUMPAD3: | 74 case VK_NUMPAD3: |
| 76 case VK_NUMPAD4: | 75 case VK_NUMPAD4: |
| 77 case VK_NUMPAD5: | 76 case VK_NUMPAD5: |
| 78 case VK_NUMPAD6: | 77 case VK_NUMPAD6: |
| 79 case VK_NUMPAD7: | 78 case VK_NUMPAD7: |
| 80 case VK_NUMPAD8: | 79 case VK_NUMPAD8: |
| 81 case VK_NUMPAD9: | 80 case VK_NUMPAD9: |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 result.wheelTicksX = wheelDelta; | 480 result.wheelTicksX = wheelDelta; |
| 482 } else { | 481 } else { |
| 483 result.deltaY = scrollDelta; | 482 result.deltaY = scrollDelta; |
| 484 result.wheelTicksY = wheelDelta; | 483 result.wheelTicksY = wheelDelta; |
| 485 } | 484 } |
| 486 | 485 |
| 487 return result; | 486 return result; |
| 488 } | 487 } |
| 489 | 488 |
| 490 } // namespace WebKit | 489 } // namespace WebKit |
| OLD | NEW |