commit | 717c2773a86fb7ec73c3b77e9048fd541c3cf876 | [log] [tgz] |
---|---|---|
author | stapelberg <stapelberg@google.com> | Sun Mar 29 15:12:02 2015 |
committer | Commit bot <commit-bot@chromium.org> | Sun Mar 29 15:12:30 2015 |
tree | 380ed0d3bb019cc24df04ff33cb09baf830e285b | |
parent | bedf2fe500077e6507932881744ceac07acefc46 [diff] |
hi-dpi: convert _NET_WORKAREA from pixels. Just like the gfx::Display member |bounds_| is not stored in pixels, we need to convert |work_area_| from pixels. Both are used in MenuController::UpdateInitialLocation (|work_area_| is preferred over |bounds_|), which gets events with already converted coordinates. BUG=469373,143619 Review URL: https://codereview.chromium.org/1036263003 Cr-Commit-Position: refs/heads/master@{#322724}