diff options
author | dewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-24 03:22:29 +0000 |
---|---|---|
committer | dewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-24 03:22:29 +0000 |
commit | e0b0d1baabc487924b26d1b22452392831803637 (patch) | |
tree | aafa4ac0e86a8161aae9559644f69db21896c7e3 /ash/system/web_notification | |
parent | 4c893d9e1e74b6332afac1506230c52777d4634e (diff) | |
download | chromium_src-e0b0d1baabc487924b26d1b22452392831803637.zip chromium_src-e0b0d1baabc487924b26d1b22452392831803637.tar.gz chromium_src-e0b0d1baabc487924b26d1b22452392831803637.tar.bz2 |
Add a main menu item for disabling the notification bell on Mac.
The menu item reads "Hide Notifications Icon" and is default un-checked. When
clicked, it is checked (and remains that way even across restarts.) This selection
is saved in a machine-wide preference.
R=rsesek@chromium.org,thakis@chromium.org
TBR=gene@chromium.org,atwilson@chromium.org,stevenjb@chromium.org
BUG=305398
Review URL: https://codereview.chromium.org/242453012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/web_notification')
-rw-r--r-- | ash/system/web_notification/web_notification_tray.cc | 1 | ||||
-rw-r--r-- | ash/system/web_notification/web_notification_tray_unittest.cc | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc index 13407c6..ef21322 100644 --- a/ash/system/web_notification/web_notification_tray.cc +++ b/ash/system/web_notification/web_notification_tray.cc @@ -29,7 +29,6 @@ #include "ui/gfx/screen.h" #include "ui/message_center/message_center_style.h" #include "ui/message_center/message_center_tray_delegate.h" -#include "ui/message_center/message_center_util.h" #include "ui/message_center/views/message_bubble_base.h" #include "ui/message_center/views/message_center_bubble.h" #include "ui/message_center/views/message_popup_collection.h" diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc index c02a0ae..d39d3c9 100644 --- a/ash/system/web_notification/web_notification_tray_unittest.cc +++ b/ash/system/web_notification/web_notification_tray_unittest.cc @@ -27,7 +27,6 @@ #include "ui/gfx/screen.h" #include "ui/message_center/message_center_style.h" #include "ui/message_center/message_center_tray.h" -#include "ui/message_center/message_center_util.h" #include "ui/message_center/notification_list.h" #include "ui/message_center/notification_types.h" #include "ui/message_center/views/message_center_bubble.h" |