Reflect the current state in Media Router Action icon.
commit4eebb13efbe6b3304bc501da6331e64e05d716f9
authorapacible <apacible@chromium.org>
Tue, 11 Aug 2015 17:51:02 +0000 (11 10:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 11 Aug 2015 17:51:45 +0000 (11 17:51 +0000)
treecfa9369665e134954f8a66fdf7b6290e72567be3
parentb32f5d196ecefb6d9d4637bfd87ec8740a639245
Reflect the current state in Media Router Action icon.

The four states and scenarios are as following:
- Idle (Not locally casting to a sink).
- Active (Currently locally casting to a sink).
- Warning (Current issue shown to user is of type 'warning').
- Error (Current issue shown to user is of type 'fatal').

This change also adds more Media Router Action icons, as well as update the current idle icons.

Review URL: https://codereview.chromium.org/1268553002

Cr-Commit-Position: refs/heads/master@{#342841}
14 files changed:
chrome/app/theme/default_100_percent/common/media_router_active.png [new file with mode: 0644]
chrome/app/theme/default_100_percent/common/media_router_error.png [new file with mode: 0644]
chrome/app/theme/default_100_percent/common/media_router_idle.png
chrome/app/theme/default_100_percent/common/media_router_warning.png [new file with mode: 0644]
chrome/app/theme/default_200_percent/common/media_router_active.png [new file with mode: 0644]
chrome/app/theme/default_200_percent/common/media_router_error.png [new file with mode: 0644]
chrome/app/theme/default_200_percent/common/media_router_idle.png
chrome/app/theme/default_200_percent/common/media_router_warning.png [new file with mode: 0644]
chrome/app/theme/theme_resources.grd
chrome/browser/ui/toolbar/media_router_action.cc
chrome/browser/ui/toolbar/media_router_action.h
chrome/browser/ui/toolbar/media_router_action_unittest.cc [new file with mode: 0644]
chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc
chrome/chrome_tests_unit.gypi