| 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 float scale; | 539 float scale; |
| 540 } pinchUpdate; | 540 } pinchUpdate; |
| 541 } data; | 541 } data; |
| 542 | 542 |
| 543 WebGestureEvent() | 543 WebGestureEvent() |
| 544 : WebInputEvent(sizeof(WebGestureEvent)) | 544 : WebInputEvent(sizeof(WebGestureEvent)) |
| 545 , x(0) | 545 , x(0) |
| 546 , y(0) | 546 , y(0) |
| 547 , globalX(0) | 547 , globalX(0) |
| 548 , globalY(0) | 548 , globalY(0) |
| 549 , sourceDevice(WebGestureDeviceUninitialized) |
| 549 , resendingPluginId(-1) | 550 , resendingPluginId(-1) |
| 550 { | 551 { |
| 551 memset(&data, 0, sizeof(data)); | 552 memset(&data, 0, sizeof(data)); |
| 552 } | 553 } |
| 553 }; | 554 }; |
| 554 | 555 |
| 555 // WebTouchEvent -------------------------------------------------------------- | 556 // WebTouchEvent -------------------------------------------------------------- |
| 556 | 557 |
| 557 // TODO(e_hakkinen): Replace with WebPointerEvent. crbug.com/508283 | 558 // TODO(e_hakkinen): Replace with WebPointerEvent. crbug.com/508283 |
| 558 class WebTouchEvent : public WebInputEvent { | 559 class WebTouchEvent : public WebInputEvent { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 587 , uniqueTouchEventId(0) | 588 , uniqueTouchEventId(0) |
| 588 { | 589 { |
| 589 } | 590 } |
| 590 }; | 591 }; |
| 591 | 592 |
| 592 #pragma pack(pop) | 593 #pragma pack(pop) |
| 593 | 594 |
| 594 } // namespace blink | 595 } // namespace blink |
| 595 | 596 |
| 596 #endif | 597 #endif |
| OLD | NEW |