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

Side by Side Diff: ash/system/tray/tray_image_item.cc

Issue 10200006: ash: Refresh the tray items, instead of recreating them, when login status changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/tray/tray_image_item.h ('k') | ash/system/user/tray_user.h » ('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/tray/tray_image_item.h" 5 #include "ash/system/tray/tray_image_item.h"
6 6
7 #include "ash/system/tray/tray_item_view.h" 7 #include "ash/system/tray/tray_item_view.h"
8 #include "ui/base/resource/resource_bundle.h" 8 #include "ui/base/resource/resource_bundle.h"
9 #include "ui/gfx/image/image.h" 9 #include "ui/gfx/image/image.h"
10 #include "ui/views/controls/image_view.h" 10 #include "ui/views/controls/image_view.h"
(...skipping 22 matching lines...) Expand all
33 } 33 }
34 34
35 views::View* TrayImageItem::CreateDefaultView(user::LoginStatus status) { 35 views::View* TrayImageItem::CreateDefaultView(user::LoginStatus status) {
36 return NULL; 36 return NULL;
37 } 37 }
38 38
39 views::View* TrayImageItem::CreateDetailedView(user::LoginStatus status) { 39 views::View* TrayImageItem::CreateDetailedView(user::LoginStatus status) {
40 return NULL; 40 return NULL;
41 } 41 }
42 42
43 void TrayImageItem::UpdateAfterLoginStatusChange(user::LoginStatus status) {
44 }
45
43 void TrayImageItem::DestroyTrayView() { 46 void TrayImageItem::DestroyTrayView() {
44 tray_view_.reset(); 47 tray_view_.reset();
45 } 48 }
46 49
47 void TrayImageItem::DestroyDefaultView() { 50 void TrayImageItem::DestroyDefaultView() {
48 } 51 }
49 52
50 void TrayImageItem::DestroyDetailedView() { 53 void TrayImageItem::DestroyDetailedView() {
51 } 54 }
52 55
53 } // namespace internal 56 } // namespace internal
54 } // namespace ash 57 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/tray_image_item.h ('k') | ash/system/user/tray_user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698