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 3// found in the LICENSE file. 4 5#ifndef ASH_SYSTEM_TRAY_TRAY_UTILS_H_ 6#define ASH_SYSTEM_TRAY_TRAY_UTILS_H_ 7 8#include "ash/shelf/shelf_types.h" 9 10namespace views { 11class Label; 12class View; 13} 14 15namespace ash { 16 17class TrayItemView; 18 19// Sets up a Label properly for the tray (sets color, font etc.). 20void SetupLabelForTray(views::Label* label); 21 22// TODO(jennyz): refactor these two functions to SystemTrayItem. 23// Sets the empty border of an image tray item for adjusting the space 24// around it. 25void SetTrayImageItemBorder(views::View* tray_view, ShelfAlignment alignment); 26// Sets the empty border around a label tray item for adjusting the space 27// around it. 28void SetTrayLabelItemBorder(TrayItemView* tray_view, 29 ShelfAlignment alignment); 30 31} // namespace ash 32 33#endif // ASH_SYSTEM_TRAY_TRAY_UTILS_H_ 34