зеркало из https://github.com/mozilla/gecko-dev.git
1601a8bb80
This commit adds a scroll origin, nsGkAtoms::relative, which can be used to mark main thread scrolling that can be combined with a concurrent APZ scroll. The behavior of this is controlled by a pref, apz.relative-update. This pref is initially activated and is intended as an aid to narrowing down causes of regressions for users in bug reports. Relative scroll updates work by tracking the last sent or accepted APZ scroll offset. This is sent along with every FrameMetrics. Additionally, a flag is added to FrameMetrics, mIsRelative, indicating whether the scroll offset can be combined with a potential APZ scroll. When this flag is set, AsyncPanZoomController will apply the delta between the sent base scroll offset, and sent new scroll offset. This flag is controlled by the last scroll origin on nsGfxScrollFrame. The new origin, `relative`, is marked as being able to clobber APZ updates, but can only be set if all scrolls since the last repaint request or layers transaction have been relative. Differential Revision: https://phabricator.services.mozilla.com/D8234 --HG-- extra : rebase_source : 51351a84c9cda228a0975e22eda3fd3bd8d261c4 extra : histedit_source : 4b564c19b16fe2bd26adc671b62b7cb6106e8163 |
||
---|---|---|
.. | ||
crashtests | ||
doc | ||
gtest | ||
tests | ||
AccessibleCaret.cpp | ||
AccessibleCaret.h | ||
AccessibleCaretEventHub.cpp | ||
AccessibleCaretEventHub.h | ||
AccessibleCaretLogger.h | ||
AccessibleCaretManager.cpp | ||
AccessibleCaretManager.h | ||
ArenaObjectID.h | ||
ArenaRefPtr.h | ||
ArenaRefPtrInlines.h | ||
AutoProfilerStyleMarker.h | ||
CaretAssociationHint.h | ||
FrameProperties.h | ||
GeometryUtils.cpp | ||
GeometryUtils.h | ||
LayoutConstants.h | ||
LayoutLogging.cpp | ||
LayoutLogging.h | ||
MobileViewportManager.cpp | ||
MobileViewportManager.h | ||
OverflowChangedTracker.h | ||
PositionedEventTargeting.cpp | ||
PositionedEventTargeting.h | ||
PresShell.cpp | ||
PresShell.h | ||
PresState.ipdlh | ||
RestyleManager.cpp | ||
RestyleManager.h | ||
ScrollStyles.cpp | ||
ScrollStyles.h | ||
ShapeUtils.cpp | ||
ShapeUtils.h | ||
StackArena.cpp | ||
StackArena.h | ||
StaticPresData.cpp | ||
StaticPresData.h | ||
TouchManager.cpp | ||
TouchManager.h | ||
UnitTransforms.h | ||
Units.h | ||
WordMovementType.h | ||
ZoomConstraintsClient.cpp | ||
ZoomConstraintsClient.h | ||
moz.build | ||
nsAutoLayoutPhase.cpp | ||
nsAutoLayoutPhase.h | ||
nsBidi.cpp | ||
nsBidi.h | ||
nsBidiPresUtils.cpp | ||
nsBidiPresUtils.h | ||
nsCSSColorUtils.cpp | ||
nsCSSColorUtils.h | ||
nsCSSFrameConstructor.cpp | ||
nsCSSFrameConstructor.h | ||
nsCaret.cpp | ||
nsCaret.h | ||
nsChangeHint.h | ||
nsCompatibility.h | ||
nsCounterManager.cpp | ||
nsCounterManager.h | ||
nsDocumentViewer.cpp | ||
nsFrameManager.cpp | ||
nsFrameManager.h | ||
nsFrameTraversal.cpp | ||
nsFrameTraversal.h | ||
nsGenConList.cpp | ||
nsGenConList.h | ||
nsIDocumentViewerPrint.h | ||
nsIFrameTraversal.h | ||
nsILayoutDebugger.h | ||
nsILayoutHistoryState.idl | ||
nsIPercentBSizeObserver.h | ||
nsIPreloadedStyleSheet.idl | ||
nsIPresShell.h | ||
nsIPresShellInlines.h | ||
nsIReflowCallback.h | ||
nsIStyleSheetService.idl | ||
nsLayoutDebugger.cpp | ||
nsLayoutHistoryState.cpp | ||
nsLayoutUtils.cpp | ||
nsLayoutUtils.h | ||
nsPresArena.cpp | ||
nsPresArena.h | ||
nsPresArenaObjectList.h | ||
nsPresContext.cpp | ||
nsPresContext.h | ||
nsQuoteList.cpp | ||
nsQuoteList.h | ||
nsRefreshDriver.cpp | ||
nsRefreshDriver.h | ||
nsStyleChangeList.cpp | ||
nsStyleChangeList.h | ||
nsStyleSheetService.cpp | ||
nsStyleSheetService.h |