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

Side by Side Diff: ash/system/tray/tray_empty.h

Issue 10693135: Remove #pragma once from ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « ash/system/tray/tray_constants.h ('k') | ash/system/tray/tray_image_item.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ASH_SYSTEM_TRAY_TRAY_EMPTY_H_ 5 #ifndef ASH_SYSTEM_TRAY_TRAY_EMPTY_H_
6 #define ASH_SYSTEM_TRAY_TRAY_EMPTY_H_ 6 #define ASH_SYSTEM_TRAY_TRAY_EMPTY_H_
7 #pragma once
8 7
9 #include "ash/system/tray/system_tray_item.h" 8 #include "ash/system/tray/system_tray_item.h"
10 9
11 namespace ash { 10 namespace ash {
12 namespace internal { 11 namespace internal {
13 12
14 class TrayEmpty : public SystemTrayItem { 13 class TrayEmpty : public SystemTrayItem {
15 public: 14 public:
16 TrayEmpty(); 15 TrayEmpty();
17 virtual ~TrayEmpty(); 16 virtual ~TrayEmpty();
18 17
19 private: 18 private:
20 // Overridden from SystemTrayItem. 19 // Overridden from SystemTrayItem.
21 virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE; 20 virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE;
22 virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE; 21 virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE;
23 virtual views::View* CreateDetailedView(user::LoginStatus status) OVERRIDE; 22 virtual views::View* CreateDetailedView(user::LoginStatus status) OVERRIDE;
24 virtual void DestroyTrayView() OVERRIDE; 23 virtual void DestroyTrayView() OVERRIDE;
25 virtual void DestroyDefaultView() OVERRIDE; 24 virtual void DestroyDefaultView() OVERRIDE;
26 virtual void DestroyDetailedView() OVERRIDE; 25 virtual void DestroyDetailedView() OVERRIDE;
27 virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) OVERRIDE; 26 virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) OVERRIDE;
28 27
29 DISALLOW_COPY_AND_ASSIGN(TrayEmpty); 28 DISALLOW_COPY_AND_ASSIGN(TrayEmpty);
30 }; 29 };
31 30
32 } // namespace internal 31 } // namespace internal
33 } // namespace ash 32 } // namespace ash
34 33
35 #endif // ASH_SYSTEM_TRAY_TRAY_EMPTY_H_ 34 #endif // ASH_SYSTEM_TRAY_TRAY_EMPTY_H_
OLDNEW
« no previous file with comments | « ash/system/tray/tray_constants.h ('k') | ash/system/tray/tray_image_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698