Add a separate files.app notification for attached media devices.
commit4eac6732647d7aa0785427c3064db0c20d8bb896
authorkenobi <kenobi@chromium.org>
Tue, 18 Nov 2014 03:02:45 +0000 (17 19:02 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Nov 2014 03:03:03 +0000 (18 03:03 +0000)
tree6d1dc6d6547889f918aebe6d33321448b262538b
parentcd4d385ea8b84912bbc30602469fdf068a5f40f1
Add a separate files.app notification for attached media devices.

Query the VolumeInfo on newly detected mounts to determine whether a device containing media was just mounted, and, if so, pop up an alternate notification prompting the user to import that media.  Clicking the notification opens a file manager window and navigates to the directory containing said media.

BUG=420680

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

Cr-Commit-Position: refs/heads/master@{#304551}
chrome/app/chromeos_strings.grdp
chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
chrome/test/data/file_manager/unit_tests/device_handler_unittest.js
third_party/closure_compiler/externs/file_manager_private.js
ui/file_manager/file_manager/background/js/background.js
ui/file_manager/file_manager/background/js/device_handler.js
ui/file_manager/file_manager/background/js/volume_manager.js