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

Unified Diff: chrome/browser/notifications/notification_test_util.cc

Issue 10831155: notifications: Refactor MockBalloonView into FakeBalloonView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/notifications/notification_test_util.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/notification_test_util.cc
diff --git a/chrome/browser/notifications/notification_test_util.cc b/chrome/browser/notifications/notification_test_util.cc
index 89dca719677696e096cf81f5bf968ee1f3071833..242719664f13b090b2cdcb60b45f50de9f269e88 100644
--- a/chrome/browser/notifications/notification_test_util.cc
+++ b/chrome/browser/notifications/notification_test_util.cc
@@ -17,15 +17,3 @@ std::string MockNotificationDelegate::id() const {
content::RenderViewHost* MockNotificationDelegate::GetRenderViewHost() const {
return NULL;
}
-
-void MockBalloonView::Close(bool by_user) {
- balloon_->OnClose(by_user);
-}
-
-gfx::Size MockBalloonView::GetSize() const {
- return balloon_->content_size();
-}
-
-BalloonHost* MockBalloonView::GetHost() const {
- return NULL;
-}
« no previous file with comments | « chrome/browser/notifications/notification_test_util.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698