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

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

Issue 9753019: ash: Add a bluetooth entry in the uber tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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/tray_constants.cc ('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 7cc27bcaae3ed31b81d249504d9dc53e783d5ab7..c5f0273e75ce97bba03513d7dd1ffeb594ceb658 100644
--- a/ash/system/tray/tray_image_item.h
+++ b/ash/system/tray/tray_image_item.h
@@ -23,9 +23,8 @@ class TrayImageItem : public SystemTrayItem {
views::ImageView* image_view() { return image_view_.get(); }
protected:
- virtual bool ShouldDisplay() = 0;
+ virtual bool GetInitialVisibility() = 0;
- private:
// Overridden from SystemTrayItem.
virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE;
virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE;
@@ -34,6 +33,7 @@ class TrayImageItem : public SystemTrayItem {
virtual void DestroyDefaultView() OVERRIDE;
virtual void DestroyDetailedView() OVERRIDE;
+ private:
int resource_id_;
scoped_ptr<views::ImageView> image_view_;
« no previous file with comments | « ash/system/tray/tray_constants.cc ('k') | ash/system/tray/tray_image_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698