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

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

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/system/tray/system_tray_bubble.cc ('k') | ash/system/tray/system_tray_unittest.cc » ('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_SYSTEM_TRAY_ITEM_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/shelf/shelf_types.h" 9 #include "ash/shelf/shelf_types.h"
10 #include "ash/system/user/login_status.h" 10 #include "ash/system/user/login_status.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 13
14 namespace views { 14 namespace views {
15 class View; 15 class View;
16 } 16 }
17 17
18 namespace ash { 18 namespace ash {
19
20 class SystemTray; 19 class SystemTray;
21
22 namespace internal {
23 class TrayItemView; 20 class TrayItemView;
24 }
25 21
26 class ASH_EXPORT SystemTrayItem { 22 class ASH_EXPORT SystemTrayItem {
27 public: 23 public:
28 explicit SystemTrayItem(SystemTray* system_tray); 24 explicit SystemTrayItem(SystemTray* system_tray);
29 virtual ~SystemTrayItem(); 25 virtual ~SystemTrayItem();
30 26
31 // Create* functions may return NULL if nothing should be displayed for the 27 // Create* functions may return NULL if nothing should be displayed for the
32 // type of view. The default implementations return NULL. 28 // type of view. The default implementations return NULL.
33 29
34 // Returns a view to be displayed in the system tray. If this returns NULL, 30 // Returns a view to be displayed in the system tray. If this returns NULL,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 private: 112 private:
117 SystemTray* system_tray_; 113 SystemTray* system_tray_;
118 bool restore_focus_; 114 bool restore_focus_;
119 115
120 DISALLOW_COPY_AND_ASSIGN(SystemTrayItem); 116 DISALLOW_COPY_AND_ASSIGN(SystemTrayItem);
121 }; 117 };
122 118
123 } // namespace ash 119 } // namespace ash
124 120
125 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_ 121 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_ITEM_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_bubble.cc ('k') | ash/system/tray/system_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698