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/chromeos/bluetooth/tray_bluetooth.h" | 5 #include "ash/system/bluetooth/tray_bluetooth.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/system/tray/hover_highlight_view.h" | |
9 #include "ash/common/system/tray/system_tray.h" | |
10 #include "ash/common/system/tray/system_tray_delegate.h" | |
11 #include "ash/common/system/tray/system_tray_notifier.h" | |
12 #include "ash/common/system/tray/throbber_view.h" | |
13 #include "ash/common/system/tray/tray_constants.h" | |
14 #include "ash/common/system/tray/tray_details_view.h" | |
15 #include "ash/common/system/tray/tray_item_more.h" | |
16 #include "ash/common/system/tray/tray_popup_item_style.h" | |
17 #include "ash/common/system/tray/tray_popup_utils.h" | |
18 #include "ash/common/system/tray/tri_view.h" | |
19 #include "ash/common/wm_shell.h" | 8 #include "ash/common/wm_shell.h" |
20 #include "ash/resources/grit/ash_resources.h" | 9 #include "ash/resources/grit/ash_resources.h" |
21 #include "ash/resources/vector_icons/vector_icons.h" | 10 #include "ash/resources/vector_icons/vector_icons.h" |
22 #include "ash/strings/grit/ash_strings.h" | 11 #include "ash/strings/grit/ash_strings.h" |
| 12 #include "ash/system/tray/hover_highlight_view.h" |
| 13 #include "ash/system/tray/system_tray.h" |
| 14 #include "ash/system/tray/system_tray_delegate.h" |
| 15 #include "ash/system/tray/system_tray_notifier.h" |
| 16 #include "ash/system/tray/throbber_view.h" |
| 17 #include "ash/system/tray/tray_constants.h" |
| 18 #include "ash/system/tray/tray_details_view.h" |
| 19 #include "ash/system/tray/tray_item_more.h" |
| 20 #include "ash/system/tray/tray_popup_item_style.h" |
| 21 #include "ash/system/tray/tray_popup_utils.h" |
| 22 #include "ash/system/tray/tri_view.h" |
23 #include "device/bluetooth/bluetooth_common.h" | 23 #include "device/bluetooth/bluetooth_common.h" |
24 #include "ui/base/l10n/l10n_util.h" | 24 #include "ui/base/l10n/l10n_util.h" |
25 #include "ui/base/resource/resource_bundle.h" | 25 #include "ui/base/resource/resource_bundle.h" |
26 #include "ui/gfx/color_palette.h" | 26 #include "ui/gfx/color_palette.h" |
27 #include "ui/gfx/image/image.h" | 27 #include "ui/gfx/image/image.h" |
28 #include "ui/gfx/paint_vector_icon.h" | 28 #include "ui/gfx/paint_vector_icon.h" |
29 #include "ui/gfx/vector_icons_public.h" | 29 #include "ui/gfx/vector_icons_public.h" |
30 #include "ui/views/controls/button/toggle_button.h" | 30 #include "ui/views/controls/button/toggle_button.h" |
31 #include "ui/views/controls/image_view.h" | 31 #include "ui/views/controls/image_view.h" |
32 #include "ui/views/controls/label.h" | 32 #include "ui/views/controls/label.h" |
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 detailed_->Update(); | 623 detailed_->Update(); |
624 } | 624 } |
625 | 625 |
626 void TrayBluetooth::OnBluetoothDiscoveringChanged() { | 626 void TrayBluetooth::OnBluetoothDiscoveringChanged() { |
627 if (!detailed_) | 627 if (!detailed_) |
628 return; | 628 return; |
629 detailed_->Update(); | 629 detailed_->Update(); |
630 } | 630 } |
631 | 631 |
632 } // namespace ash | 632 } // namespace ash |
OLD | NEW |