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

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

Issue 10809008: Make spacing between uber tray items consistent with UI spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactor UpdateAfterShelfAlignment from CreateTrayView to SystemTrayItem. Created 8 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/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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698