Chromium Code Reviews
Descriptionmus: Remove ViewportMetrics from mojom.
ViewportMetrics is no longer sent over IPC to the clients, so remove
it from the mojom. Also, simplify the usage a bit, for example, rename
'device pixel ratio' to 'device scale factor', since that's what the
rest of the code (in //ui/display and elsewhere) calls it. Also, remove
GetViewportMetrics() from PlatformDisplay and Display, and introduce
GetDeviceScaleFactor() on PlatformDisplay, since that was the only use
for it.
BUG=603316
Committed: https://crrev.com/21c4cdea43a46afbfec9b66455d7cbc35c0f041b
Cr-Commit-Position: refs/heads/master@{#396534}
Patch Set 1 #Patch Set 2 : . #
Messages
Total messages: 14 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||