forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebLayer] Save browser controls UI state between BrowserFragment res…
…tarts This CL makes BrowserImpl save the UI state of BrowserViewController when destroying/creating it so we can save the controls location. It doesn't use onStoreInstanceState directly because the BrowserControlsContainerView lifecycle doesn't exactly match what Android expects (onStoreInstanceState gets called after BCCV is already destroyed). Bug: 1120209 Change-Id: Ibedf4f8ad1e01f29518b404d94961b0e97689b9c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368479 Reviewed-by: Bo <boliu@chromium.org> Commit-Queue: Robbie McElrath <rmcelrath@chromium.org> Cr-Commit-Position: refs/heads/master@{#801158}
- Loading branch information
Showing
3 changed files
with
70 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters