OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_VIEW_ASH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_VIEW_ASH_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_VIEW_ASH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_VIEW_ASH_H_ |
7 | 7 |
8 #include "chrome/browser/notifications/balloon.h" | 8 #include "chrome/browser/notifications/balloon.h" |
9 | 9 |
10 // On Ash, a "BalloonView" is just a wrapper for ash notification entries. | 10 // On Ash, a "BalloonView" is just a wrapper for ash notification entries. |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 private: | 24 private: |
25 class IconFetcher; | 25 class IconFetcher; |
26 | 26 |
27 void FetchIcon(const Notification& notification); | 27 void FetchIcon(const Notification& notification); |
28 std::string GetExtensionId(Balloon* balloon); | 28 std::string GetExtensionId(Balloon* balloon); |
29 | 29 |
30 BalloonCollection* collection_; | 30 BalloonCollection* collection_; |
31 Balloon* balloon_; | 31 Balloon* balloon_; |
32 scoped_ptr<IconFetcher> icon_fetcher_; | 32 scoped_ptr<IconFetcher> icon_fetcher_; |
| 33 // Track the current notification id so that it can be updated properly. |
| 34 std::string current_notification_id_; |
33 | 35 |
34 DISALLOW_COPY_AND_ASSIGN(BalloonViewAsh); | 36 DISALLOW_COPY_AND_ASSIGN(BalloonViewAsh); |
35 }; | 37 }; |
36 | 38 |
37 #endif // CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_VIEW_ASH_H_ | 39 #endif // CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_VIEW_ASH_H_ |
OLD | NEW |