Change StackLayout#flingStacks() to take an int
StackLayout#flingStacks() currently takes a boolean: true if we should scroll over to the incognito tab stack, and false if we should scroll over to the normal tab stack. This CL is a straightforward change to make this method instead take an integer value representing the index of the new tab stack. This is necessary to enable StackLayout to support more than two tab stacks. Bug: 648314 Change-Id: I4e58707c1e389638fca1c6a013abf022a8d248bc Reviewed-on: https://chromium-review.googlesource.com/957425Reviewed-by:Matthew Jones <mdjones@chromium.org> Commit-Queue: Ryan Landay <rlanday@chromium.org> Cr-Commit-Position: refs/heads/master@{#542234}
Showing
Please register or sign in to comment