DescriptionIntroduce WebPageImportanceSignals to judge state preservation needs
This CL introduces WebPageImportanceSignals, which is measured per Page.
We plan to propagate this signal to content/ so that Chromium can judge
the importance of the tab. Chromium can then use this signal to choose which
actions to take against the tab when we are approaching system resource limit.
For example:
- Simply discard the tab if user hadn't done anything with the tab.
- If he/she entered something on a form, we better preserve its state, etc.
To start with, we record if user has interacted with a HTML form on the page.
BUG=520838
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200630
Patch Set 1 #Patch Set 2 : document().frame() may be null during the tests #
Total comments: 8
Patch Set 3 : add comment/disallow_allocation #Patch Set 4 : add missing includes #
Total comments: 2
Patch Set 5 : migrate to web/ per suggestion from tkent #Patch Set 6 : add missing header #
Total comments: 4
Patch Set 7 : nits #
Messages
Total messages: 41 (18 generated)
|