Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: ui/message_center/fake_message_center.cc

Issue 149433005: Adds a small icon to notifications, and connects it to synced notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add testing. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/message_center/fake_message_center.h" 5 #include "ui/message_center/fake_message_center.h"
6 #include "ui/message_center/notification_list.h" 6 #include "ui/message_center/notification_list.h"
7 7
8 namespace message_center { 8 namespace message_center {
9 9
10 FakeMessageCenter::FakeMessageCenter() { 10 FakeMessageCenter::FakeMessageCenter() {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 78 }
79 79
80 void FakeMessageCenter::SetNotificationIcon(const std::string& notification_id, 80 void FakeMessageCenter::SetNotificationIcon(const std::string& notification_id,
81 const gfx::Image& image) { 81 const gfx::Image& image) {
82 } 82 }
83 83
84 void FakeMessageCenter::SetNotificationImage(const std::string& notification_id, 84 void FakeMessageCenter::SetNotificationImage(const std::string& notification_id,
85 const gfx::Image& image) { 85 const gfx::Image& image) {
86 } 86 }
87 87
88 void FakeMessageCenter::SetNotificationSmallImage(
89 const std::string& notification_id,
90 const gfx::Image& image) {}
91
88 void FakeMessageCenter::SetNotificationButtonIcon( 92 void FakeMessageCenter::SetNotificationButtonIcon(
89 const std::string& notification_id, 93 const std::string& notification_id,
90 int button_index, 94 int button_index,
91 const gfx::Image& image) { 95 const gfx::Image& image) {
92 } 96 }
93 97
94 void FakeMessageCenter::DisableNotificationsByNotifier( 98 void FakeMessageCenter::DisableNotificationsByNotifier(
95 const NotifierId& notifier_id) { 99 const NotifierId& notifier_id) {
96 } 100 }
97 101
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 return false; 138 return false;
135 } 139 }
136 140
137 void FakeMessageCenter::RestartPopupTimers() {} 141 void FakeMessageCenter::RestartPopupTimers() {}
138 142
139 void FakeMessageCenter::PausePopupTimers() {} 143 void FakeMessageCenter::PausePopupTimers() {}
140 144
141 void FakeMessageCenter::DisableTimersForTest() {} 145 void FakeMessageCenter::DisableTimersForTest() {}
142 146
143 } // namespace message_center 147 } // namespace message_center
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698