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

Side by Side Diff: third_party/WebKit/public/platform/WebInputEvent.h

Issue 2401853003: CL for src perf tryjob to run smoothness.scrolling_tough_ad_cases benchmark on android-nexus5X plat… (Closed)
Patch Set: Created 4 years, 2 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
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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 ScrollUnits deltaUnits; 572 ScrollUnits deltaUnits;
573 // The state of inertial phase scrolling. OSX has unique phases for normal 573 // The state of inertial phase scrolling. OSX has unique phases for normal
574 // and momentum scroll events. Should always be UnknownMomentumPhase for 574 // and momentum scroll events. Should always be UnknownMomentumPhase for
575 // touch based input as it generates GestureFlingStart instead. 575 // touch based input as it generates GestureFlingStart instead.
576 InertialPhaseState inertialPhase; 576 InertialPhaseState inertialPhase;
577 // True if this event was synthesized in order to generate the proper 577 // True if this event was synthesized in order to generate the proper
578 // GSB/GSU/GSE matching sequences. This is a temporary so that a future 578 // GSB/GSU/GSE matching sequences. This is a temporary so that a future
579 // GSB will generate a hit test so latching behavior is avoided 579 // GSB will generate a hit test so latching behavior is avoided
580 // until crbug.com/526463 is fully implemented. 580 // until crbug.com/526463 is fully implemented.
581 bool synthetic; 581 bool synthetic;
582 // True if a fling is in debouncing_deferral_queue_ after this event.
583 bool flingMightHappenNext;
582 } scrollEnd; 584 } scrollEnd;
583 585
584 struct { 586 struct {
585 float velocityX; 587 float velocityX;
586 float velocityY; 588 float velocityY;
587 // If true, this event will skip hit testing to find a scroll 589 // If true, this event will skip hit testing to find a scroll
588 // target and instead just scroll the viewport. 590 // target and instead just scroll the viewport.
589 bool targetViewport; 591 bool targetViewport;
590 } flingStart; 592 } flingStart;
591 593
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 dispatchedDuringFling(false), 657 dispatchedDuringFling(false),
656 touchStartOrFirstTouchMove(false), 658 touchStartOrFirstTouchMove(false),
657 uniqueTouchEventId(0) {} 659 uniqueTouchEventId(0) {}
658 }; 660 };
659 661
660 #pragma pack(pop) 662 #pragma pack(pop)
661 663
662 } // namespace blink 664 } // namespace blink
663 665
664 #endif 666 #endif
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/gesture_event_queue.cc ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698