Change StackLayout#setActiveStackState() to take an int
StackLayout#setActiveStackState() is used by StackLayout to set the currently active tab stack. This method currently takes a boolean (true for the incognito stack, false for the normal stack). This CL changes this method to instead take an integer representing an index, so we can support more than two tab stacks. This CL also changes this method to return void (previously it was returning a boolean: true if the active stack was actually changed, and false if it wasn't), since the return value is never actually used. Bug: 648314 Change-Id: Ief119b4a1a92f8345b2b3556f9003cf4e3092f61 Reviewed-on: https://chromium-review.googlesource.com/957274 Commit-Queue: Ryan Landay <rlanday@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#542266}
Showing
Please register or sign in to comment