Index: chrome/browser/ui/views/ash/balloon_view_ash.h |
diff --git a/chrome/browser/ui/views/ash/balloon_view_ash.h b/chrome/browser/ui/views/ash/balloon_view_ash.h |
deleted file mode 100644 |
index 032bc522c11c2f1f01e06d73f2c3f56743f47a13..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/views/ash/balloon_view_ash.h |
+++ /dev/null |
@@ -1,57 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_VIEW_ASH_H_ |
-#define CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_VIEW_ASH_H_ |
- |
-#include <vector> |
- |
-#include "base/memory/linked_ptr.h" |
-#include "chrome/browser/notifications/balloon.h" |
- |
-namespace gfx { |
-class Image; |
-} |
- |
-// On Ash, a "BalloonView" is just a wrapper for ash notification entries. |
-class BalloonViewAsh : public BalloonView { |
- public: |
- explicit BalloonViewAsh(BalloonCollection* collection); |
- virtual ~BalloonViewAsh(); |
- |
- // BalloonView interface. |
- virtual void Show(Balloon* balloon) OVERRIDE; |
- virtual void Update() OVERRIDE; |
- virtual void RepositionToBalloon() OVERRIDE; |
- virtual void Close(bool by_user) OVERRIDE; |
- virtual gfx::Size GetSize() const OVERRIDE; |
- virtual BalloonHost* GetHost() const OVERRIDE; |
- |
- void SetNotificationIcon(const std::string& notification_id, |
- const gfx::Image& image); |
- void SetNotificationImage(const std::string& notification_id, |
- const gfx::Image& image); |
- void SetNotificationButtonIcon(const std::string& notification_id, |
- int button_index, |
- const gfx::Image& image); |
- |
- private: |
- class ImageDownload; |
- |
- typedef std::vector<linked_ptr<ImageDownload> > ImageDownloads; |
- |
- void DownloadImages(const Notification& notification); |
- |
- BalloonCollection* collection_; |
- Balloon* balloon_; |
- |
- // Track the current notification id and downloads so the notification can be |
- // updated properly. |
- std::string notification_id_; |
- ImageDownloads downloads_; |
- |
- DISALLOW_COPY_AND_ASSIGN(BalloonViewAsh); |
-}; |
- |
-#endif // CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_VIEW_ASH_H_ |