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

Side by Side Diff: chrome/browser/ui/views/ash/balloon_view_ash.h

Issue 10855079: Fix Ash notification updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update tests. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ash/system/web_notification/web_notification_tray_unittest.cc ('k') | chrome/browser/ui/views/ash/balloon_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698