| OLD | NEW |
| 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_COMMON_SYSTEM_TRAY_TRAY_UTILS_H_ |
| 6 #define ASH_SYSTEM_TRAY_TRAY_UTILS_H_ | 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_UTILS_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/common/shelf/shelf_types.h" | 10 #include "ash/common/shelf/shelf_types.h" |
| 11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 | 12 |
| 13 namespace views { | 13 namespace views { |
| 14 class Label; | 14 class Label; |
| 15 class View; | 15 class View; |
| 16 } | 16 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 void SetTrayLabelItemBorder(TrayItemView* tray_view, ShelfAlignment alignment); | 31 void SetTrayLabelItemBorder(TrayItemView* tray_view, ShelfAlignment alignment); |
| 32 | 32 |
| 33 // Computes an accessible label for this button based on all descendant view | 33 // Computes an accessible label for this button based on all descendant view |
| 34 // labels by concatenating them in depth-first order. | 34 // labels by concatenating them in depth-first order. |
| 35 void GetAccessibleLabelFromDescendantViews( | 35 void GetAccessibleLabelFromDescendantViews( |
| 36 views::View* view, | 36 views::View* view, |
| 37 std::vector<base::string16>& out_labels); | 37 std::vector<base::string16>& out_labels); |
| 38 | 38 |
| 39 } // namespace ash | 39 } // namespace ash |
| 40 | 40 |
| 41 #endif // ASH_SYSTEM_TRAY_TRAY_UTILS_H_ | 41 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_UTILS_H_ |
| OLD | NEW |