DescriptionSnapshotController implementation. It will be used in WebContentsObservers for Offline Pages - to detect the right moment to make a snapshot.
It will take input and generate a sequence of StartSnapshot calls (typically 1 or 2) to its Client.
This is initial implementation, in the future we might update the logic to rely not on a timer and onload event,
but rather on some more specific indicators (meaningful layout or proportion of resources loaded).
BUG=606106
Committed: https://crrev.com/18a6b28cc90dfc6ecfeb075804a67f74e5c42f9d
Cr-Commit-Position: refs/heads/master@{#389843}
Patch Set 1 #Patch Set 2 : Modified comments and added a test. #Patch Set 3 : merge conflict #Patch Set 4 : hi clang! #
Total comments: 18
Patch Set 5 : feedback addressed #
Total comments: 1
Patch Set 6 : renaming constant #
Messages
Total messages: 11 (4 generated)
|