[DevTools] Add resource size and tooltips to size column
[DevTools] Add resource size and tooltips to size column

The size column is confusing - it normally just shows the "transferred"
size which was sent over the wire, and if you enable large request rows
then it shows a second number, which is the "resource" size - the
size of the corresponding data without compression or headers. This
patch adds a tooltip to each entry which explains what the numbers are
and shows both of them without the need for large request rows.

The resource size is hidden from the "size" column in the network log
for requests from memcache, disk cache, and service workers. This patch
makes the resource size always show up in the large request rows mode.

Bug: 805429, 935676, 883561
Change-Id: I1a28303b4cf9dd130741fcd638abacf5de7d5b6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1510062
Reviewed-by: Erik Luo <26192f5e05d23e5ee959014fb911d780e566545b@chromium.org>
Commit-Queue: Joey Arhar <b82f612a3ddcfbac27d1758ce0a3eba47bee1116@chromium.org>
Cr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#639659}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 07e1ebde979461823f0b23f2247621ee0d1c9414
ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend