diff options
author | robliao@chromium.org <robliao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-22 03:38:21 +0000 |
---|---|---|
committer | robliao@chromium.org <robliao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-22 03:38:21 +0000 |
commit | 7fe808b860b56e98a7abec6c1324098fee679be1 (patch) | |
tree | 554efa92ff235c2a19c9e5956493da25f0c68001 /ui/message_center/views/notifier_settings_view.cc | |
parent | f7079e81476fd1549f58815d724533bcb7e0db0f (diff) | |
download | chromium_src-7fe808b860b56e98a7abec6c1324098fee679be1.zip chromium_src-7fe808b860b56e98a7abec6c1324098fee679be1.tar.gz chromium_src-7fe808b860b56e98a7abec6c1324098fee679be1.tar.bz2 |
Remove Notifications Associated with an Extension When the Extension is Unchecked from the Message Center Settings
Added an observer relationship between MessageCenterImpl and
MessageCenterSettingsController so that the notification removal would occur
when a user unchecked an extension from the settings view.
BUG=304364
Review URL: https://codereview.chromium.org/288033014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/message_center/views/notifier_settings_view.cc')
-rw-r--r-- | ui/message_center/views/notifier_settings_view.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/message_center/views/notifier_settings_view.cc b/ui/message_center/views/notifier_settings_view.cc index e2df07c..5a46f48 100644 --- a/ui/message_center/views/notifier_settings_view.cc +++ b/ui/message_center/views/notifier_settings_view.cc @@ -540,6 +540,9 @@ void NotifierSettingsView::NotifierGroupChanged() { UpdateContentsView(notifiers); } +void NotifierSettingsView::NotifierEnabledChanged(const NotifierId& notifier_id, + bool enabled) {} + void NotifierSettingsView::UpdateContentsView( const std::vector<Notifier*>& notifiers) { buttons_.clear(); |