Home | History | Annotate | Download | only in tray
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef ASH_SYSTEM_TRAY_TRAY_EMPTY_H_
      6 #define ASH_SYSTEM_TRAY_TRAY_EMPTY_H_
      7 
      8 #include "ash/system/tray/system_tray_item.h"
      9 
     10 namespace ash {
     11 namespace internal {
     12 
     13 class TrayEmpty : public SystemTrayItem {
     14  public:
     15   explicit TrayEmpty(SystemTray* system_tray);
     16   virtual ~TrayEmpty();
     17 
     18  private:
     19   // Overridden from SystemTrayItem.
     20   virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE;
     21   virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE;
     22   virtual views::View* CreateDetailedView(user::LoginStatus status) OVERRIDE;
     23   virtual void DestroyTrayView() OVERRIDE;
     24   virtual void DestroyDefaultView() OVERRIDE;
     25   virtual void DestroyDetailedView() OVERRIDE;
     26   virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) OVERRIDE;
     27 
     28   DISALLOW_COPY_AND_ASSIGN(TrayEmpty);
     29 };
     30 
     31 }  // namespace internal
     32 }  // namespace ash
     33 
     34 #endif  // ASH_SYSTEM_TRAY_TRAY_EMPTY_H_
     35