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

Side by Side Diff: ash/system/drive/tray_drive.h

Issue 83413004: Remove enable Drive offline system tray UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drive settings Created 7 years 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/drive/drive_observer.h ('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"
(...skipping 23 matching lines...) Expand all
34 34
35 // Overridden from SystemTrayItem. 35 // Overridden from SystemTrayItem.
36 virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE; 36 virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE;
37 virtual views::View* CreateDetailedView(user::LoginStatus status) OVERRIDE; 37 virtual views::View* CreateDetailedView(user::LoginStatus status) OVERRIDE;
38 virtual void DestroyDefaultView() OVERRIDE; 38 virtual void DestroyDefaultView() OVERRIDE;
39 virtual void DestroyDetailedView() OVERRIDE; 39 virtual void DestroyDetailedView() OVERRIDE;
40 virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) OVERRIDE; 40 virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) OVERRIDE;
41 41
42 // Overridden from DriveObserver. 42 // Overridden from DriveObserver.
43 virtual void OnDriveJobUpdated(const DriveOperationStatus& status) OVERRIDE; 43 virtual void OnDriveJobUpdated(const DriveOperationStatus& status) OVERRIDE;
44 virtual void OnDriveOfflineEnabled() OVERRIDE;
45 44
46 // Delayed hiding of the tray item after encountering an empty operation list. 45 // Delayed hiding of the tray item after encountering an empty operation list.
47 void HideIfNoOperations(); 46 void HideIfNoOperations();
48 47
49 tray::DriveDefaultView* default_; 48 tray::DriveDefaultView* default_;
50 tray::DriveDetailedView* detailed_; 49 tray::DriveDetailedView* detailed_;
51 base::OneShotTimer<TrayDrive> hide_timer_; 50 base::OneShotTimer<TrayDrive> hide_timer_;
52 51
53 DISALLOW_COPY_AND_ASSIGN(TrayDrive); 52 DISALLOW_COPY_AND_ASSIGN(TrayDrive);
54 }; 53 };
55 54
56 } // namespace internal 55 } // namespace internal
57 } // namespace ash 56 } // namespace ash
58 57
59 #endif // ASH_SYSTEM_DRIVE_TRAY_DRIVE_H_ 58 #endif // ASH_SYSTEM_DRIVE_TRAY_DRIVE_H_
OLDNEW
« no previous file with comments | « ash/system/drive/drive_observer.h ('k') | ash/system/drive/tray_drive.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698