OLD | NEW |
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 #include "ash/system/drive/tray_drive.h" | 5 #include "ash/system/drive/tray_drive.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
10 #include "ash/system/tray/fixed_sized_scroll_view.h" | 10 #include "ash/system/tray/fixed_sized_scroll_view.h" |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 void TrayDrive::HideIfNoOperations() { | 501 void TrayDrive::HideIfNoOperations() { |
502 DriveOperationStatusList empty_list; | 502 DriveOperationStatusList empty_list; |
503 | 503 |
504 tray_view()->SetVisible(false); | 504 tray_view()->SetVisible(false); |
505 if (default_) | 505 if (default_) |
506 default_->Update(&empty_list); | 506 default_->Update(&empty_list); |
507 if (detailed_) | 507 if (detailed_) |
508 detailed_->Update(&empty_list); | 508 detailed_->Update(&empty_list); |
509 } | 509 } |
510 | 510 |
511 void TrayDrive::OnDriveOfflineEnabled() { | |
512 } | |
513 | |
514 } // namespace internal | 511 } // namespace internal |
515 } // namespace ash | 512 } // namespace ash |
OLD | NEW |