Adds a flag to control the notification center menu bar behavior on Mac.
commit4d11b08bb69a44645953f615a994fa9387d1836a
authordewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 27 Jan 2014 22:19:07 +0000 (27 22:19 +0000)
committerdewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 27 Jan 2014 22:19:07 +0000 (27 22:19 +0000)
tree3505702a3bcd8b5d06305ee0165d532205efcb18
parent46807c31f9db2ab9d7f26904d43fc8d29b2399a2
Adds a flag to control the notification center menu bar behavior on Mac.

Currently default behavior is to show the bell after the first
notification is created, until Chrome exits.  This will remain the
default, but we will add 3 more states:
* Always show the bell
* Never show the bell (notifications will always toast in this mode)
* Only show the bell with unread notifications.

BUG=305398

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247318 0039d316-1c4b-4281-b951-d872f2087c98
chrome/app/generated_resources.grd
chrome/browser/about_flags.cc
chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm
chrome/browser/ui/cocoa/notifications/message_center_tray_bridge_unittest.mm
ui/message_center/message_center_impl.cc
ui/message_center/message_center_switches.cc
ui/message_center/message_center_switches.h
ui/message_center/message_center_util.cc
ui/message_center/message_center_util.h
ui/message_center/notifier_settings.h