DescriptionExpose 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
Committed: https://crrev.com/40f03cb9cd139d4dc5d1c22d5ee390a67bb15349
Cr-Commit-Position: refs/heads/master@{#350494}
Patch Set 1 #
Total comments: 8
Patch Set 2 : kinuko-san review #Patch Set 3 : add missing null check #
Total comments: 1
Messages
Total messages: 31 (13 generated)
|