• K Moon's avatar
    Split layout state from PDFiumEngine · bd80ce77
    K Moon authored
    Refactors layout-specific state (document size, rotation) from
    PDFiumEngine into a separate DocumentLayout class. This will allow new
    layouts to be computed without disturbing the current layout.
    
    As a side benefit, this should be another step towards simplifying
    PDFiumEngine to be less of a grab bag of concerns.
    
    Bug: 885110
    Change-Id: Ieabde78d8acdcb2f83aac980d03f6fd8f28295a4
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1716158
    Commit-Queue: K Moon <kmoon@chromium.org>
    Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#681422}
    bd80ce77
BUILD.gn 5.06 KB