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/tray/system_tray.h" | 5 #include "ash/system/tray/system_tray.h" |
6 | 6 |
7 #include "ash/ash_switches.h" | 7 #include "ash/ash_switches.h" |
8 #include "ash/shelf/shelf_layout_manager.h" | 8 #include "ash/shelf/shelf_layout_manager.h" |
9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
10 #include "ash/shell/panel_window.h" | 10 #include "ash/shell/panel_window.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "ash/system/tray/tray_bubble_wrapper.h" | 24 #include "ash/system/tray/tray_bubble_wrapper.h" |
25 #include "ash/system/tray/tray_constants.h" | 25 #include "ash/system/tray/tray_constants.h" |
26 #include "ash/system/tray_accessibility.h" | 26 #include "ash/system/tray_accessibility.h" |
27 #include "ash/system/tray_caps_lock.h" | 27 #include "ash/system/tray_caps_lock.h" |
28 #include "ash/system/tray_update.h" | 28 #include "ash/system/tray_update.h" |
29 #include "ash/system/user/login_status.h" | 29 #include "ash/system/user/login_status.h" |
30 #include "ash/system/user/tray_user.h" | 30 #include "ash/system/user/tray_user.h" |
31 #include "base/command_line.h" | 31 #include "base/command_line.h" |
32 #include "base/logging.h" | 32 #include "base/logging.h" |
33 #include "base/strings/utf_string_conversions.h" | 33 #include "base/strings/utf_string_conversions.h" |
34 #include "base/timer.h" | 34 #include "base/timer/timer.h" |
35 #include "grit/ash_strings.h" | 35 #include "grit/ash_strings.h" |
36 #include "ui/aura/root_window.h" | 36 #include "ui/aura/root_window.h" |
37 #include "ui/base/events/event_constants.h" | 37 #include "ui/base/events/event_constants.h" |
38 #include "ui/base/l10n/l10n_util.h" | 38 #include "ui/base/l10n/l10n_util.h" |
39 #include "ui/compositor/layer.h" | 39 #include "ui/compositor/layer.h" |
40 #include "ui/gfx/canvas.h" | 40 #include "ui/gfx/canvas.h" |
41 #include "ui/gfx/screen.h" | 41 #include "ui/gfx/screen.h" |
42 #include "ui/gfx/skia_util.h" | 42 #include "ui/gfx/skia_util.h" |
43 #include "ui/views/border.h" | 43 #include "ui/views/border.h" |
44 #include "ui/views/controls/label.h" | 44 #include "ui/views/controls/label.h" |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 ConvertPointToWidget(this, &point); | 597 ConvertPointToWidget(this, &point); |
598 arrow_offset = point.x(); | 598 arrow_offset = point.x(); |
599 } | 599 } |
600 } | 600 } |
601 ShowDefaultViewWithOffset(BUBBLE_CREATE_NEW, arrow_offset); | 601 ShowDefaultViewWithOffset(BUBBLE_CREATE_NEW, arrow_offset); |
602 } | 602 } |
603 return true; | 603 return true; |
604 } | 604 } |
605 | 605 |
606 } // namespace ash | 606 } // namespace ash |
OLD | NEW |