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

Side by Side Diff: ash/system/drive/tray_drive.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/date/tray_date.cc ('k') | ash/system/drive/tray_drive.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_DRIVE_TRAY_DRIVE_H_ 5 #ifndef ASH_SYSTEM_DRIVE_TRAY_DRIVE_H_
6 #define ASH_SYSTEM_DRIVE_TRAY_DRIVE_H_ 6 #define ASH_SYSTEM_DRIVE_TRAY_DRIVE_H_
7 7
8 #include "ash/system/drive/drive_observer.h" 8 #include "ash/system/drive/drive_observer.h"
9 #include "ash/system/tray/tray_image_item.h" 9 #include "ash/system/tray/tray_image_item.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
11 11
12 namespace views { 12 namespace views {
13 class Label; 13 class Label;
14 } 14 }
15 15
16 namespace ash { 16 namespace ash {
17 namespace internal {
18
19 namespace tray { 17 namespace tray {
20 class DriveTrayView; 18 class DriveTrayView;
21 class DriveDefaultView; 19 class DriveDefaultView;
22 class DriveDetailedView; 20 class DriveDetailedView;
23 } 21 }
24 22
25 class TrayDrive : public TrayImageItem, 23 class TrayDrive : public TrayImageItem,
26 public DriveObserver { 24 public DriveObserver {
27 public: 25 public:
28 explicit TrayDrive(SystemTray* system_tray); 26 explicit TrayDrive(SystemTray* system_tray);
(...skipping 16 matching lines...) Expand all
45 // Delayed hiding of the tray item after encountering an empty operation list. 43 // Delayed hiding of the tray item after encountering an empty operation list.
46 void HideIfNoOperations(); 44 void HideIfNoOperations();
47 45
48 tray::DriveDefaultView* default_; 46 tray::DriveDefaultView* default_;
49 tray::DriveDetailedView* detailed_; 47 tray::DriveDetailedView* detailed_;
50 base::OneShotTimer<TrayDrive> hide_timer_; 48 base::OneShotTimer<TrayDrive> hide_timer_;
51 49
52 DISALLOW_COPY_AND_ASSIGN(TrayDrive); 50 DISALLOW_COPY_AND_ASSIGN(TrayDrive);
53 }; 51 };
54 52
55 } // namespace internal
56 } // namespace ash 53 } // namespace ash
57 54
58 #endif // ASH_SYSTEM_DRIVE_TRAY_DRIVE_H_ 55 #endif // ASH_SYSTEM_DRIVE_TRAY_DRIVE_H_
OLDNEW
« no previous file with comments | « ash/system/date/tray_date.cc ('k') | ash/system/drive/tray_drive.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698