Add keyboard brightness notification bubble

Desktop / Chromium - Lann Martin [chromium.org] - 30 June 2017 14:32 EDT

This mimics the display brightness bubble except that it is not interactive.

BUG=chromium:540833 TEST=manual UI testing, ash_unittests

Change-Id: I34cbeb3f8ca61303cb784799e74def020f218544 Reviewed-on: https://chromium-review.googlesource.com/548203 Commit-Queue: Lann Martin

f6172fd Add keyboard brightness notification bubble
ash/BUILD.gn | 3 +
ash/ash_strings.grd | 3 +
ash/resources/vector_icons/BUILD.gn | 2 +
.../system_menu_keyboard_brightness.1x.icon | 60 ++++++++
.../system_menu_keyboard_brightness.icon | 60 ++++++++
.../tray_keyboard_brightness.cc | 164 +++++++++++++++++++++
.../keyboard_brightness/tray_keyboard_brightness.h | 52 +++++++
.../tray_keyboard_brightness_unittest.cc | 65 ++++++++
ash/system/tray/system_tray.cc | 2 +
ash/system/tray/tray_constants.cc | 1 +
ash/system/tray/tray_constants.h | 5 +
ash/system/tray/tray_popup_utils.cc | 3 +-
12 files changed, 419 insertions(+), 1 deletion(-)

Upstream: git.chromium.org


  • Share