DescriptionAdd UMA histogram for whether page loads are mobile optimized
This adds a boolean histogram for whether Chrome assumes the web page is
mobile optimized. It is recorded as soon as the Tab gets the callback
for didFinishLoad(). On every call to didNavigateMainFrame(), the bit
the bit it is cleared again. This is only recorded for the main frame.
The viewport might not be correctly identified when didFinishLoad()
gets called, at which point the stat might be a false negative. This
means that this stat could be considered a lower bound for mobile
optimized pages.
BUG=None
Committed: https://crrev.com/2a5fb80d2ff6459eaa5fe52a3ca08ffad32de5d6
Cr-Commit-Position: refs/heads/master@{#317451}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Fix histogram xml #Patch Set 3 : Move to Tab instead, since ContentViewCore might be too low-level for this. #Patch Set 4 : Merged from master #Patch Set 5 : Do not track native pages. #
Messages
Total messages: 19 (5 generated)
|