Do not update the tray if there is no notification and no status item.
commit1d87acd29ddec5853337e817cb19fec3d9bf7f6b
authordewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 29 May 2014 20:42:49 +0000 (29 20:42 +0000)
committerdewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 29 May 2014 20:42:49 +0000 (29 20:42 +0000)
tree9c89b40987c81e044f539331aff475b17042a0c3
parent3d6a825b816512e3843516674f674b032735af53
Do not update the tray if there is no notification and no status item.

The prior behavior caused a bug in Linux and Windows where going into
fullscreen always causes the notifications icon to be shown.

BUG=377237

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273582 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/views/message_center/web_notification_tray.cc
chrome/browser/ui/views/message_center/web_notification_tray.h
chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc