| 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 , isSystemKey(false) | 287 , isSystemKey(false) |
| 288 { | 288 { |
| 289 memset(&text, 0, sizeof(text)); | 289 memset(&text, 0, sizeof(text)); |
| 290 memset(&unmodifiedText, 0, sizeof(unmodifiedText)); | 290 memset(&unmodifiedText, 0, sizeof(unmodifiedText)); |
| 291 memset(&keyIdentifier, 0, sizeof(keyIdentifier)); | 291 memset(&keyIdentifier, 0, sizeof(keyIdentifier)); |
| 292 } | 292 } |
| 293 | 293 |
| 294 // Sets keyIdentifier based on the value of windowsKeyCode. This is | 294 // Sets keyIdentifier based on the value of windowsKeyCode. This is |
| 295 // handy for generating synthetic keyboard events. | 295 // handy for generating synthetic keyboard events. |
| 296 BLINK_EXPORT void setKeyIdentifierFromWindowsKeyCode(); | 296 BLINK_EXPORT void setKeyIdentifierFromWindowsKeyCode(); |
| 297 | |
| 298 static int windowsKeyCodeWithoutLocation(int keycode); | |
| 299 static int locationModifiersFromWindowsKeyCode(int keycode); | |
| 300 }; | 297 }; |
| 301 | 298 |
| 302 // WebMouseEvent -------------------------------------------------------------- | 299 // WebMouseEvent -------------------------------------------------------------- |
| 303 | 300 |
| 304 class WebMouseEvent : public WebInputEvent, public WebPointerProperties { | 301 class WebMouseEvent : public WebInputEvent, public WebPointerProperties { |
| 305 public: | 302 public: |
| 306 // Window coordinate | 303 // Window coordinate |
| 307 int x; | 304 int x; |
| 308 int y; | 305 int y; |
| 309 | 306 |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 , uniqueTouchEventId(0) | 566 , uniqueTouchEventId(0) |
| 570 { | 567 { |
| 571 } | 568 } |
| 572 }; | 569 }; |
| 573 | 570 |
| 574 #pragma pack(pop) | 571 #pragma pack(pop) |
| 575 | 572 |
| 576 } // namespace blink | 573 } // namespace blink |
| 577 | 574 |
| 578 #endif | 575 #endif |
| OLD | NEW |