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

Side by Side Diff: third_party/WebKit/Source/core/page/scrolling/ScrollStateInit.idl

Issue 2907053004: GSB uses delta_hints to calculate scrolling chain. (Closed)
Patch Set: Merge branch 'master' into GSB_checks_delta_hints Created 3 years, 5 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://docs.google.com/document/d/1VnvAqeWFG9JFZfgG5evBqrLGDZYRE5w6G5jEDORek PY 5 // https://docs.google.com/document/d/1VnvAqeWFG9JFZfgG5evBqrLGDZYRE5w6G5jEDORek PY
6 6
7 dictionary ScrollStateInit { 7 dictionary ScrollStateInit {
8 double deltaX = 0; 8 double deltaX = 0;
9 double deltaY = 0; 9 double deltaY = 0;
10 double deltaXHint = 0;
11 double deltaYHint = 0;
10 long positionX = 0; 12 long positionX = 0;
11 long positionY = 0; 13 long positionY = 0;
12 double velocityX = 0; 14 double velocityX = 0;
13 double velocityY = 0; 15 double velocityY = 0;
14 boolean isBeginning = false; 16 boolean isBeginning = false;
15 boolean isInInertialPhase = false; 17 boolean isInInertialPhase = false;
16 boolean isEnding = false; 18 boolean isEnding = false;
17 boolean shouldPropagate = true; 19 boolean shouldPropagate = true;
18 boolean fromUserInput = false; 20 boolean fromUserInput = false;
19 boolean isDirectManipulation = false; 21 boolean isDirectManipulation = false;
20 double deltaGranularity = 0; 22 double deltaGranularity = 0;
21 }; 23 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/scrolling/ScrollState.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698