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 #include "ash/system/chromeos/label_tray_view.h" | 5 #include "ash/common/system/tray/label_tray_view.h" |
6 | 6 |
7 #include "ash/common/system/tray/hover_highlight_view.h" | 7 #include "ash/common/system/tray/hover_highlight_view.h" |
8 #include "ash/common/system/tray/tray_constants.h" | 8 #include "ash/common/system/tray/tray_constants.h" |
9 #include "ash/common/system/tray/view_click_listener.h" | 9 #include "ash/common/system/tray/view_click_listener.h" |
10 #include "ui/base/resource/resource_bundle.h" | 10 #include "ui/base/resource/resource_bundle.h" |
11 #include "ui/gfx/font.h" | 11 #include "ui/gfx/font.h" |
12 #include "ui/views/border.h" | 12 #include "ui/views/border.h" |
13 #include "ui/views/controls/label.h" | 13 #include "ui/views/controls/label.h" |
14 #include "ui/views/layout/fill_layout.h" | 14 #include "ui/views/layout/fill_layout.h" |
15 | 15 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 child->text_label()->SizeToFit(kTrayNotificationContentsWidth + | 55 child->text_label()->SizeToFit(kTrayNotificationContentsWidth + |
56 kNotificationIconWidth); | 56 kNotificationIconWidth); |
57 } | 57 } |
58 child->text_label()->SetAllowCharacterBreak(true); | 58 child->text_label()->SetAllowCharacterBreak(true); |
59 child->SetExpandable(true); | 59 child->SetExpandable(true); |
60 child->SetVisible(true); | 60 child->SetVisible(true); |
61 return child; | 61 return child; |
62 } | 62 } |
63 | 63 |
64 } // namespace ash | 64 } // namespace ash |
OLD | NEW |