• Christopher Cameron's avatar
    Specify fullscreen ppapi root layer bounds in pixels · 5808937b
    Christopher Cameron authored
    Note from the comments in cc::Layer that the bounds of root cc::Layers
    are specified in pixels, in contrast with those of non-root cc::Layers,
    which are specified in DIPs.
    
    Add a compositor_viewport_pixel_size() accessor to RenderWidget to
    access this from the sub-class (naming is due the pending renaming of
    physical_backing_size to compositor_viewport_pixel_size).
    
    Bug: 814690
    Change-Id: Ia8033961e04f18c374123b4f9f8da96be131edc7
    Reviewed-on: https://chromium-review.googlesource.com/954359Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Commit-Queue: ccameron <ccameron@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#541923}
    5808937b
render_widget.h 39.2 KB