Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: Source/web/win/WebInputEventFactory.cpp

Issue 22831043: KeyboardEvent.location should be DOM_KEY_LOCATION_STANDARD for Num Lock key (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove mention of DRT Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/testing/runner/KeyCodeMapping.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/testing/runner/KeyCodeMapping.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698