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

Side by Side Diff: ash/system/user/tray_user.cc

Issue 410333005: Remove the drive status from the ash try. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build. Created 6 years, 5 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
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/user/tray_user.h" 5 #include "ash/system/user/tray_user.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/root_window_controller.h" 8 #include "ash/root_window_controller.h"
9 #include "ash/session/session_state_delegate.h" 9 #include "ash/session/session_state_delegate.h"
10 #include "ash/shelf/shelf_layout_manager.h" 10 #include "ash/shelf/shelf_layout_manager.h"
11 #include "ash/shell_delegate.h" 11 #include "ash/shell_delegate.h"
12 #include "ash/system/tray/system_tray.h" 12 #include "ash/system/tray/system_tray.h"
13 #include "ash/system/tray/system_tray_delegate.h"
13 #include "ash/system/tray/system_tray_notifier.h" 14 #include "ash/system/tray/system_tray_notifier.h"
14 #include "ash/system/tray/tray_constants.h" 15 #include "ash/system/tray/tray_constants.h"
15 #include "ash/system/tray/tray_item_view.h" 16 #include "ash/system/tray/tray_item_view.h"
16 #include "ash/system/tray/tray_utils.h" 17 #include "ash/system/tray/tray_utils.h"
17 #include "ash/system/user/accounts_detailed_view.h" 18 #include "ash/system/user/accounts_detailed_view.h"
18 #include "ash/system/user/rounded_image_view.h" 19 #include "ash/system/user/rounded_image_view.h"
19 #include "ash/system/user/user_view.h" 20 #include "ash/system/user/user_view.h"
20 #include "base/logging.h" 21 #include "base/logging.h"
21 #include "base/strings/string16.h" 22 #include "base/strings/string16.h"
22 #include "components/user_manager/user_info.h" 23 #include "components/user_manager/user_info.h"
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 void TrayUser::UpdateLayoutOfItem() { 287 void TrayUser::UpdateLayoutOfItem() {
287 RootWindowController* controller = GetRootWindowController( 288 RootWindowController* controller = GetRootWindowController(
288 system_tray()->GetWidget()->GetNativeWindow()->GetRootWindow()); 289 system_tray()->GetWidget()->GetNativeWindow()->GetRootWindow());
289 if (controller && controller->shelf()) { 290 if (controller && controller->shelf()) {
290 UpdateAfterShelfAlignmentChange( 291 UpdateAfterShelfAlignmentChange(
291 controller->GetShelfLayoutManager()->GetAlignment()); 292 controller->GetShelfLayoutManager()->GetAlignment());
292 } 293 }
293 } 294 }
294 295
295 } // namespace ash 296 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_notifier.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698