• Toni Barzic's avatar
    Remove remaining code for scaling app list main view · bbb93918
    Toni Barzic authored
    Removes code that was used to scaled the app list main view on small
    screens (when apps grid did not fit into the available space).
    
    CL:1759856 changed approach to update the item sizes inside the apps
    grid instead. The following is thus no longer necessary:
    *   AppsContainerView::GetMinimumSize() override
        -   was used to calculate whether and what scale to use (the usage
            has been removed; not used during container layout
    *   ContentsView::GetAppListMainViewScale()
        -   the scale transform on the main view does not get set any
            longer, so the scale should always be 1
    
    Change-Id: I2bcafd63b7e34c2c40167d365cfbe83b192f71e6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1789467Reviewed-by: default avatarAlex Newcomer <newcomer@chromium.org>
    Commit-Queue: Toni Baržić <tbarzic@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#695287}
    bbb93918
contents_view.cc 28.4 KB