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

Unified Diff: ash/system/tray/tray_image_item.h

Issue 9969068: ash: Animate changes in the uber tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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 | « ash/system/tray/system_tray_item.h ('k') | ash/system/tray/tray_image_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_image_item.h
diff --git a/ash/system/tray/tray_image_item.h b/ash/system/tray/tray_image_item.h
index c5f0273e75ce97bba03513d7dd1ffeb594ceb658..714e875056f71c0a27e82c97a3aefb258359339a 100644
--- a/ash/system/tray/tray_image_item.h
+++ b/ash/system/tray/tray_image_item.h
@@ -15,12 +15,14 @@ class ImageView;
namespace ash {
namespace internal {
+class TrayItemView;
+
class TrayImageItem : public SystemTrayItem {
public:
explicit TrayImageItem(int resource_id);
virtual ~TrayImageItem();
- views::ImageView* image_view() { return image_view_.get(); }
+ views::View* tray_view();
protected:
virtual bool GetInitialVisibility() = 0;
@@ -35,7 +37,7 @@ class TrayImageItem : public SystemTrayItem {
private:
int resource_id_;
- scoped_ptr<views::ImageView> image_view_;
+ scoped_ptr<TrayItemView> tray_view_;
DISALLOW_COPY_AND_ASSIGN(TrayImageItem);
};
« no previous file with comments | « ash/system/tray/system_tray_item.h ('k') | ash/system/tray/tray_image_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698