Expose PageImportanceSignals via WebContents
Depends on Blink side change: https://codereview.chromium.org/1345023002/
PageImportanceSignals contains Blink-tracked signals which is useful for
judging an relative importance of the web content hosted on a tab.
For example, we can know if a tab has a pending HTML form entry, etc.
This CL introduces a method WebContents::GetPageImportanceSignals(),
which allows browser process to query PageImportanceSignals for a tab.
In near future, we plan to use this information from OOMPriorityManager to
avoid unwanted tab discards.
BUG=520838
Review URL: https://codereview.chromium.org/1345873003
Cr-Commit-Position: refs/heads/master@{#350494}
7 files changed