Windows should animate when they are about to get docked at screen edges.
[chromium-blink-merge.git] / ash / system / tray / tray_utils.h
blob412fb97d8da40d7f3a17e57cc8cfb9f16ed2a29f
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.
5 #ifndef ASH_SYSTEM_TRAY_TRAY_UTILS_H_
6 #define ASH_SYSTEM_TRAY_TRAY_UTILS_H_
8 #include "ash/shelf/shelf_types.h"
10 namespace views {
11 class Label;
12 class View;
15 namespace ash {
16 namespace internal {
18 class TrayItemView;
20 // Sets up a Label properly for the tray (sets color, font etc.).
21 void SetupLabelForTray(views::Label* label);
23 // TODO(jennyz): refactor these two functions to SystemTrayItem.
24 // Sets the empty border of an image tray item for adjusting the space
25 // around it.
26 void SetTrayImageItemBorder(views::View* tray_view, ShelfAlignment alignment);
27 // Sets the empty border around a label tray item for adjusting the space
28 // around it.
29 void SetTrayLabelItemBorder(TrayItemView* tray_view,
30 ShelfAlignment alignment);
32 } // namespace internal
33 } // namespace ash
35 #endif // ASH_SYSTEM_TRAY_TRAY_UTILS_H_