| 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 // May be redundant with deltaX/deltaY in the first scrollUpdate. | 449 // May be redundant with deltaX/deltaY in the first scrollUpdate. |
| 450 float deltaXHint; | 450 float deltaXHint; |
| 451 float deltaYHint; | 451 float deltaYHint; |
| 452 } scrollBegin; | 452 } scrollBegin; |
| 453 | 453 |
| 454 struct { | 454 struct { |
| 455 float deltaX; | 455 float deltaX; |
| 456 float deltaY; | 456 float deltaY; |
| 457 float velocityX; | 457 float velocityX; |
| 458 float velocityY; | 458 float velocityY; |
| 459 // See comment at the top of the file for why an int is used here |
| 460 // instead of a bool. |
| 461 int preventPropagation; |
| 459 } scrollUpdate; | 462 } scrollUpdate; |
| 460 | 463 |
| 461 struct { | 464 struct { |
| 462 float velocityX; | 465 float velocityX; |
| 463 float velocityY; | 466 float velocityY; |
| 464 } flingStart; | 467 } flingStart; |
| 465 | 468 |
| 466 struct { | 469 struct { |
| 467 float scale; | 470 float scale; |
| 468 } pinchUpdate; | 471 } pinchUpdate; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 , cancelable(true) | 505 , cancelable(true) |
| 503 { | 506 { |
| 504 } | 507 } |
| 505 }; | 508 }; |
| 506 | 509 |
| 507 #pragma pack(pop) | 510 #pragma pack(pop) |
| 508 | 511 |
| 509 } // namespace blink | 512 } // namespace blink |
| 510 | 513 |
| 511 #endif | 514 #endif |
| OLD | NEW |