OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/cast/tray_cast.h" | 5 #include "ash/system/cast/tray_cast.h" |
6 | 6 |
7 #include "ash/common/session/session_state_delegate.h" | 7 #include "ash/common/session/session_state_delegate.h" |
8 #include "ash/common/shelf/shelf_types.h" | 8 #include "ash/common/shelf/shelf_types.h" |
9 #include "ash/common/shelf/wm_shelf_util.h" | 9 #include "ash/common/shelf/wm_shelf_util.h" |
10 #include "ash/common/system/tray/fixed_sized_image_view.h" | 10 #include "ash/common/system/tray/fixed_sized_image_view.h" |
11 #include "ash/common/system/tray/fixed_sized_scroll_view.h" | 11 #include "ash/common/system/tray/fixed_sized_scroll_view.h" |
12 #include "ash/common/system/tray/hover_highlight_view.h" | 12 #include "ash/common/system/tray/hover_highlight_view.h" |
13 #include "ash/common/system/tray/system_tray_delegate.h" | 13 #include "ash/common/system/tray/system_tray_delegate.h" |
14 #include "ash/common/system/tray/throbber_view.h" | 14 #include "ash/common/system/tray/throbber_view.h" |
15 #include "ash/common/system/tray/tray_constants.h" | 15 #include "ash/common/system/tray/tray_constants.h" |
16 #include "ash/common/system/tray/tray_item_more.h" | 16 #include "ash/common/system/tray/tray_item_more.h" |
17 #include "ash/common/system/tray/tray_item_view.h" | 17 #include "ash/common/system/tray/tray_item_view.h" |
18 #include "ash/common/system/tray/tray_popup_label_button.h" | 18 #include "ash/common/system/tray/tray_popup_label_button.h" |
| 19 #include "ash/common/system/tray/view_click_listener.h" |
19 #include "ash/common/wm_shell.h" | 20 #include "ash/common/wm_shell.h" |
20 #include "ash/shelf/shelf_util.h" | 21 #include "ash/shelf/shelf_util.h" |
21 #include "ash/shell.h" | 22 #include "ash/shell.h" |
22 #include "ash/system/chromeos/screen_security/screen_tray_item.h" | 23 #include "ash/system/chromeos/screen_security/screen_tray_item.h" |
23 #include "ash/system/tray/system_tray.h" | 24 #include "ash/system/tray/system_tray.h" |
24 #include "ash/system/tray/system_tray_notifier.h" | 25 #include "ash/system/tray/system_tray_notifier.h" |
25 #include "ash/system/tray/tray_details_view.h" | 26 #include "ash/system/tray/tray_details_view.h" |
26 #include "base/bind.h" | 27 #include "base/bind.h" |
27 #include "grit/ash_resources.h" | 28 #include "grit/ash_resources.h" |
28 #include "grit/ash_strings.h" | 29 #include "grit/ash_strings.h" |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 is_casting_ = started; | 673 is_casting_ = started; |
673 UpdatePrimaryView(); | 674 UpdatePrimaryView(); |
674 } | 675 } |
675 | 676 |
676 void TrayCast::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { | 677 void TrayCast::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { |
677 if (tray_) | 678 if (tray_) |
678 tray_->UpdateAlignment(alignment); | 679 tray_->UpdateAlignment(alignment); |
679 } | 680 } |
680 | 681 |
681 } // namespace ash | 682 } // namespace ash |
OLD | NEW |