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

Side by Side Diff: ash/system/tray/system_tray_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: Move SetTrayImageItemBorder etc to tray_views. 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
« no previous file with comments | « ash/system/tray/system_tray_item.h ('k') | ash/system/tray/tray_constants.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/system_tray_item.h" 5 #include "ash/system/tray/system_tray_item.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/system/tray/system_tray.h" 8 #include "ash/system/tray/system_tray.h"
9 #include "ash/system/tray/tray_constants.h"
10 #include "ash/system/tray/tray_item_view.h"
11 #include "ui/views/controls/label.h"
9 #include "ui/views/view.h" 12 #include "ui/views/view.h"
10 13
11 namespace ash { 14 namespace ash {
12 15
13 SystemTrayItem::SystemTrayItem() { 16 SystemTrayItem::SystemTrayItem() {
14 } 17 }
15 18
16 SystemTrayItem::~SystemTrayItem() { 19 SystemTrayItem::~SystemTrayItem() {
17 } 20 }
18 21
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 73
71 void SystemTrayItem::ShowNotificationView() { 74 void SystemTrayItem::ShowNotificationView() {
72 Shell::GetInstance()->system_tray()->ShowNotificationView(this); 75 Shell::GetInstance()->system_tray()->ShowNotificationView(this);
73 } 76 }
74 77
75 void SystemTrayItem::HideNotificationView() { 78 void SystemTrayItem::HideNotificationView() {
76 Shell::GetInstance()->system_tray()->HideNotificationView(this); 79 Shell::GetInstance()->system_tray()->HideNotificationView(this);
77 } 80 }
78 81
79 } // namespace ash 82 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_item.h ('k') | ash/system/tray/tray_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698