Lacking types to indicate pixels/dips SetBounds/GetBounds should renamed to clearly indicate they are in pixels. Some other functions may be in pixels too and they should be renamed as well. The reason for this is that's all too easy now to assume SetBounds() takes dips. Especially when WindowTreeHost has a Window and Window has functions with the same name that are in dips.
Comment 1 by riajiang@chromium.org
, Nov 17 2016