GMC: Truncate text that reaches the artwork
Currently, the MediaNotificationView uses insets for the artwork based on the message center width. This works for ChromeOS (which uses message center to show the MediaNotificationView), but not for the Global Media Controls, which uses its own width. This CL fixes this issue by letting users of MediaNotificationView specify the width of the notification. Bug: 1011178 Change-Id: I267266a154b0bbd4e78ec4fec52734d32c2c9ebf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864417 Commit-Queue: Tommy Steimel <steimel@chromium.org> Reviewed-by:James Cook <jamescook@chromium.org> Reviewed-by:
Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#706601}
Showing
Please register or sign in to comment