| 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 , isSystemKey(false) | 324 , isSystemKey(false) |
| 325 , isBrowserShortcut(false) | 325 , isBrowserShortcut(false) |
| 326 { | 326 { |
| 327 memset(&text, 0, sizeof(text)); | 327 memset(&text, 0, sizeof(text)); |
| 328 memset(&unmodifiedText, 0, sizeof(unmodifiedText)); | 328 memset(&unmodifiedText, 0, sizeof(unmodifiedText)); |
| 329 memset(&keyIdentifier, 0, sizeof(keyIdentifier)); | 329 memset(&keyIdentifier, 0, sizeof(keyIdentifier)); |
| 330 } | 330 } |
| 331 | 331 |
| 332 // Sets keyIdentifier based on the value of windowsKeyCode. This is | 332 // Sets keyIdentifier based on the value of windowsKeyCode. This is |
| 333 // handy for generating synthetic keyboard events. | 333 // handy for generating synthetic keyboard events. |
| 334 BLINK_EXPORT void setKeyIdentifierFromWindowsKeyCode(); | 334 BLINK_COMMON_EXPORT void setKeyIdentifierFromWindowsKeyCode(); |
| 335 }; | 335 }; |
| 336 | 336 |
| 337 // WebMouseEvent -------------------------------------------------------------- | 337 // WebMouseEvent -------------------------------------------------------------- |
| 338 | 338 |
| 339 class WebMouseEvent : public WebInputEvent, public WebPointerProperties { | 339 class WebMouseEvent : public WebInputEvent, public WebPointerProperties { |
| 340 public: | 340 public: |
| 341 // Renderer coordinates. Similar to viewport coordinates but without | 341 // Renderer coordinates. Similar to viewport coordinates but without |
| 342 // DevTools emulation transform or overscroll applied. i.e. the coordinates | 342 // DevTools emulation transform or overscroll applied. i.e. the coordinates |
| 343 // in Chromium's RenderView bounds. | 343 // in Chromium's RenderView bounds. |
| 344 int x; | 344 int x; |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 , uniqueTouchEventId(0) | 644 , uniqueTouchEventId(0) |
| 645 { | 645 { |
| 646 } | 646 } |
| 647 }; | 647 }; |
| 648 | 648 |
| 649 #pragma pack(pop) | 649 #pragma pack(pop) |
| 650 | 650 |
| 651 } // namespace blink | 651 } // namespace blink |
| 652 | 652 |
| 653 #endif | 653 #endif |
| OLD | NEW |