Realign message center popups when displays are added or removed
When switching between displays with different resolutions (e.g., plugging in an external monitor to a laptop), there is no "DisplayMetricsChanged" event on Linux. This causes notifications to appear in the wrong position. Handle this by checking if the primary display has changed whenever a display is added or removed.
BUG=621010
Review-Url: https://codereview.chromium.org/2078773003
Cr-Commit-Position: refs/heads/master@{#405036}
3 files changed