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

Side by Side Diff: ash/system/tray/tray_utils.h

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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_popup_label_button_border.cc ('k') | ash/system/tray/tray_utils.cc » ('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 #ifndef ASH_SYSTEM_TRAY_TRAY_UTILS_H_ 5 #ifndef ASH_SYSTEM_TRAY_TRAY_UTILS_H_
6 #define ASH_SYSTEM_TRAY_TRAY_UTILS_H_ 6 #define ASH_SYSTEM_TRAY_TRAY_UTILS_H_
7 7
8 #include "ash/shelf/shelf_types.h" 8 #include "ash/shelf/shelf_types.h"
9 9
10 namespace views { 10 namespace views {
11 class Label; 11 class Label;
12 class View; 12 class View;
13 } 13 }
14 14
15 namespace ash { 15 namespace ash {
16 namespace internal {
17 16
18 class TrayItemView; 17 class TrayItemView;
19 18
20 // Sets up a Label properly for the tray (sets color, font etc.). 19 // Sets up a Label properly for the tray (sets color, font etc.).
21 void SetupLabelForTray(views::Label* label); 20 void SetupLabelForTray(views::Label* label);
22 21
23 // TODO(jennyz): refactor these two functions to SystemTrayItem. 22 // TODO(jennyz): refactor these two functions to SystemTrayItem.
24 // Sets the empty border of an image tray item for adjusting the space 23 // Sets the empty border of an image tray item for adjusting the space
25 // around it. 24 // around it.
26 void SetTrayImageItemBorder(views::View* tray_view, ShelfAlignment alignment); 25 void SetTrayImageItemBorder(views::View* tray_view, ShelfAlignment alignment);
27 // Sets the empty border around a label tray item for adjusting the space 26 // Sets the empty border around a label tray item for adjusting the space
28 // around it. 27 // around it.
29 void SetTrayLabelItemBorder(TrayItemView* tray_view, 28 void SetTrayLabelItemBorder(TrayItemView* tray_view,
30 ShelfAlignment alignment); 29 ShelfAlignment alignment);
31 30
32 } // namespace internal
33 } // namespace ash 31 } // namespace ash
34 32
35 #endif // ASH_SYSTEM_TRAY_TRAY_UTILS_H_ 33 #endif // ASH_SYSTEM_TRAY_TRAY_UTILS_H_
OLDNEW
« no previous file with comments | « ash/system/tray/tray_popup_label_button_border.cc ('k') | ash/system/tray/tray_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698