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/common/system/tray/tray_item_more.h" | 5 #include "ash/system/tray/tray_item_more.h" |
6 | 6 |
7 #include "ash/common/system/tray/system_tray_item.h" | 7 #include "ash/system/tray/system_tray_item.h" |
8 #include "ash/common/system/tray/tray_constants.h" | 8 #include "ash/system/tray/tray_constants.h" |
9 #include "ash/common/system/tray/tray_popup_item_style.h" | 9 #include "ash/system/tray/tray_popup_item_style.h" |
10 #include "ash/common/system/tray/tray_popup_utils.h" | 10 #include "ash/system/tray/tray_popup_utils.h" |
11 #include "ash/common/system/tray/tri_view.h" | 11 #include "ash/system/tray/tri_view.h" |
12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "ui/accessibility/ax_node_data.h" | 13 #include "ui/accessibility/ax_node_data.h" |
14 #include "ui/gfx/image/image.h" | 14 #include "ui/gfx/image/image.h" |
15 #include "ui/views/controls/image_view.h" | 15 #include "ui/views/controls/image_view.h" |
16 #include "ui/views/controls/label.h" | 16 #include "ui/views/controls/label.h" |
17 #include "ui/views/layout/fill_layout.h" | 17 #include "ui/views/layout/fill_layout.h" |
18 | 18 |
19 namespace ash { | 19 namespace ash { |
20 | 20 |
21 TrayItemMore::TrayItemMore(SystemTrayItem* owner) | 21 TrayItemMore::TrayItemMore(SystemTrayItem* owner) |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 tri_view_->SetContainerVisible(TriView::Container::END, enabled()); | 84 tri_view_->SetContainerVisible(TriView::Container::END, enabled()); |
85 UpdateStyle(); | 85 UpdateStyle(); |
86 } | 86 } |
87 | 87 |
88 void TrayItemMore::OnNativeThemeChanged(const ui::NativeTheme* theme) { | 88 void TrayItemMore::OnNativeThemeChanged(const ui::NativeTheme* theme) { |
89 ActionableView::OnNativeThemeChanged(theme); | 89 ActionableView::OnNativeThemeChanged(theme); |
90 UpdateStyle(); | 90 UpdateStyle(); |
91 } | 91 } |
92 | 92 |
93 } // namespace ash | 93 } // namespace ash |
OLD | NEW |