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

Unified Diff: chrome/browser/chromeos/cros_stubs_aura.cc

Issue 8355042: aura: Use the existing notification system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 9 years, 2 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 | « no previous file | chrome/browser/notifications/balloon_collection_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros_stubs_aura.cc
diff --git a/chrome/browser/chromeos/cros_stubs_aura.cc b/chrome/browser/chromeos/cros_stubs_aura.cc
index a6792f8d5a4422eaa02d1f91bcab5cc6da58a16e..8627482620b531652d29d196c7ffb7e8e87f46c5 100644
--- a/chrome/browser/chromeos/cros_stubs_aura.cc
+++ b/chrome/browser/chromeos/cros_stubs_aura.cc
@@ -202,27 +202,3 @@ void ScreenLocker::ScreenLockReady() {
}
} // namespace chromeos
-
-class BalloonCollectionStub : public BalloonCollection {
- public:
- BalloonCollectionStub() {}
- virtual ~BalloonCollectionStub() {}
- private:
- void Add(const Notification& notification, Profile* profile) {}
- bool RemoveById(const std::string& id) { return true; }
- bool RemoveBySourceOrigin(const GURL& source_origin) { return true; }
- void RemoveAll() {}
- bool HasSpace() const { return true; }
- void ResizeBalloon(Balloon* balloon, const gfx::Size& size) {}
- void SetPositionPreference(PositionPreference position) {}
- void DisplayChanged() {}
- void OnBalloonClosed(Balloon* source) {}
- const Balloons& GetActiveBalloons() { return balloons_; }
-
- Balloons balloons_;
-};
-
-// static
-BalloonCollection* BalloonCollection::Create() {
- return new BalloonCollectionStub;
-}
« no previous file with comments | « no previous file | chrome/browser/notifications/balloon_collection_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698