Cross-origin iframes: collect data under hypothetical loading strategies

Log % of frames to never load if we only loaded those that are
- visible, or
- 1 screen below
- 2 screens below
- 3 screens below

We would load frames used for cross-origin talk in any of the scenarios.

Note that we only look below for frames we might have to preload and ignore
frames to the right, assuming that the vast majority of content is
consumed vertically.

Also note that logging to one bucket will also log to each lower bucket,
which makes sense: if a frame has to be loaded under the "1 screen"
scenario, it would have to be loaded under a "3 screen" scenario.

This data will inform discussion of what our policy might eventually be.

BUG=635105

Review-Url: https://codereview.chromium.org/2516473002
Cr-Commit-Position: refs/heads/master@{#453837}
7 files changed