Change StackLayout's mTemporarySelectedStack from Boolean to int
mTemporarySelectedStack is a variable that temporarily stores the selected tab stack. Its value is used to update TabModelSelector's currently selected model once the scroll animation finishes. This CL changes mTemporarySelectedStack from a Boolean to an int so StackLayout can support more than two tab stacks. Bug: 648314 Change-Id: I337feb3b82f687ef554c577544d1087c8d0e9c40 Reviewed-on: https://chromium-review.googlesource.com/954285 Commit-Queue: Ryan Landay <rlanday@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#541977}
Showing
Please register or sign in to comment