DescriptionOOPIF: Support session restore by combining/splitting frame PageStates.
In OOPIF-enabled modes, each FrameNavigationEntry has a per-frame
PageState object. The states for each frame in the tree need to be
combined into a single PageState for GetPageState, and a single
PageState needs to be split into individual FrameNavigationEntries for
SetPageState.
Because GetPageState is const and returns a const ref, we need to
cache the combined PageState each time it could change.
BUG=545219
TEST=Close and restore a tab or session with OOPIFs.
Committed: https://crrev.com/7115a704adb9c7109f61d34d6b50937dd8c60bc6
Cr-Commit-Position: refs/heads/master@{#363025}
Patch Set 1 #Patch Set 2 : Fix some tests #
Total comments: 6
Patch Set 3 : Remove const ref #Patch Set 4 : Add test #Patch Set 5 : Fix remaining tests #
Messages
Total messages: 19 (7 generated)
|