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

Side by Side Diff: public/web/WebInputEvent.h

Issue 850443002: Scroll Customization Prototype (Not for review, WIP) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase / cleanup / minor bug fixes Created 5 years, 9 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
« no previous file with comments | « Source/web/tests/WebInputEventConversionTest.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) 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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 float deltaY; 460 float deltaY;
461 float velocityX; 461 float velocityX;
462 float velocityY; 462 float velocityY;
463 // Whether any previous GestureScrollUpdate in the current scroll 463 // Whether any previous GestureScrollUpdate in the current scroll
464 // sequence was suppressed (e.g., the causal touchmove was 464 // sequence was suppressed (e.g., the causal touchmove was
465 // preventDefault'ed). This bit is particularly useful for 465 // preventDefault'ed). This bit is particularly useful for
466 // determining whether the observed scroll update sequence captures 466 // determining whether the observed scroll update sequence captures
467 // the entirety of the generative motion. 467 // the entirety of the generative motion.
468 bool previousUpdateInSequencePrevented; 468 bool previousUpdateInSequencePrevented;
469 bool preventPropagation; 469 bool preventPropagation;
470 bool inertial;
470 } scrollUpdate; 471 } scrollUpdate;
471 472
472 struct { 473 struct {
473 float velocityX; 474 float velocityX;
474 float velocityY; 475 float velocityY;
475 } flingStart; 476 } flingStart;
476 477
477 struct { 478 struct {
478 // If set to true, don't treat flingCancel 479 // If set to true, don't treat flingCancel
479 // as a part of fling boost events sequence. 480 // as a part of fling boost events sequence.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 , causesScrollingIfUncanceled(false) 527 , causesScrollingIfUncanceled(false)
527 { 528 {
528 } 529 }
529 }; 530 };
530 531
531 #pragma pack(pop) 532 #pragma pack(pop)
532 533
533 } // namespace blink 534 } // namespace blink
534 535
535 #endif 536 #endif
OLDNEW
« no previous file with comments | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698