| 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/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 27 matching lines...) Expand all Loading... |
| 38 return NULL; | 38 return NULL; |
| 39 } | 39 } |
| 40 | 40 |
| 41 views::View* TrayImageItem::CreateDetailedView(user::LoginStatus status) { | 41 views::View* TrayImageItem::CreateDetailedView(user::LoginStatus status) { |
| 42 return NULL; | 42 return NULL; |
| 43 } | 43 } |
| 44 | 44 |
| 45 void TrayImageItem::UpdateAfterLoginStatusChange(user::LoginStatus status) { | 45 void TrayImageItem::UpdateAfterLoginStatusChange(user::LoginStatus status) { |
| 46 } | 46 } |
| 47 | 47 |
| 48 void TrayImageItem::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { |
| 49 SetTrayImageItemBorder(tray_view_, alignment); |
| 50 } |
| 51 |
| 48 void TrayImageItem::DestroyTrayView() { | 52 void TrayImageItem::DestroyTrayView() { |
| 49 tray_view_ = NULL; | 53 tray_view_ = NULL; |
| 50 } | 54 } |
| 51 | 55 |
| 52 void TrayImageItem::DestroyDefaultView() { | 56 void TrayImageItem::DestroyDefaultView() { |
| 53 } | 57 } |
| 54 | 58 |
| 55 void TrayImageItem::DestroyDetailedView() { | 59 void TrayImageItem::DestroyDetailedView() { |
| 56 } | 60 } |
| 57 | 61 |
| 58 } // namespace internal | 62 } // namespace internal |
| 59 } // namespace ash | 63 } // namespace ash |
| OLD | NEW |