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

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

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, 1 month 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/tray_drive.h ('k') | ash/system/tray/system_tray.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 #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
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
OLDNEW
« no previous file with comments | « ash/system/drive/tray_drive.h ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698