[Downloads] Mark download shelf as hidden when it's hidden.
commiteb56be68378f8d0edc47d170aa89ab92df05aa03
authorasanka <asanka@chromium.org>
Fri, 2 Jan 2015 22:58:38 +0000 (2 14:58 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 2 Jan 2015 22:59:23 +0000 (2 22:59 +0000)
treea4bd2c0f64af9c540c019e3f3cf19dbb3ac03a78
parentcea78b67ca14073d0a59e5dab8a22b41f1e4b2c7
[Downloads] Mark download shelf as hidden when it's hidden.

When hidden, the downloads shelf is animated down to a 0 height window,
but it wasn't being marked as hidden. This allowed it to grab focus
during focus traversal despite not being visible. Explicitly marking it
as hidden resolves this issue.

BUG=369627

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

Cr-Commit-Position: refs/heads/master@{#309859}
chrome/browser/ui/views/download/download_shelf_view.cc