| 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/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "ash/shell/panel_window.h" | 8 #include "ash/shell/panel_window.h" |
| 9 #include "ash/shell_window_ids.h" | 9 #include "ash/shell_window_ids.h" |
| 10 #include "ash/system/audio/tray_volume.h" | 10 #include "ash/system/audio/tray_volume.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "ash/system/tray_accessibility.h" | 28 #include "ash/system/tray_accessibility.h" |
| 29 #include "ash/system/tray_caps_lock.h" | 29 #include "ash/system/tray_caps_lock.h" |
| 30 #include "ash/system/tray_update.h" | 30 #include "ash/system/tray_update.h" |
| 31 #include "ash/system/user/login_status.h" | 31 #include "ash/system/user/login_status.h" |
| 32 #include "ash/system/user/tray_user.h" | 32 #include "ash/system/user/tray_user.h" |
| 33 #include "base/logging.h" | 33 #include "base/logging.h" |
| 34 #include "base/timer.h" | 34 #include "base/timer.h" |
| 35 #include "base/utf_string_conversions.h" | 35 #include "base/utf_string_conversions.h" |
| 36 #include "grit/ash_strings.h" | 36 #include "grit/ash_strings.h" |
| 37 #include "ui/aura/root_window.h" | 37 #include "ui/aura/root_window.h" |
| 38 #include "ui/base/events.h" | 38 #include "ui/base/events/event_constants.h" |
| 39 #include "ui/base/l10n/l10n_util.h" | 39 #include "ui/base/l10n/l10n_util.h" |
| 40 #include "ui/compositor/layer.h" | 40 #include "ui/compositor/layer.h" |
| 41 #include "ui/gfx/canvas.h" | 41 #include "ui/gfx/canvas.h" |
| 42 #include "ui/gfx/screen.h" | 42 #include "ui/gfx/screen.h" |
| 43 #include "ui/gfx/skia_util.h" | 43 #include "ui/gfx/skia_util.h" |
| 44 #include "ui/views/border.h" | 44 #include "ui/views/border.h" |
| 45 #include "ui/views/controls/label.h" | 45 #include "ui/views/controls/label.h" |
| 46 #include "ui/views/layout/box_layout.h" | 46 #include "ui/views/layout/box_layout.h" |
| 47 #include "ui/views/layout/fill_layout.h" | 47 #include "ui/views/layout/fill_layout.h" |
| 48 #include "ui/views/view.h" | 48 #include "ui/views/view.h" |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 ConvertPointToWidget(this, &point); | 445 ConvertPointToWidget(this, &point); |
| 446 arrow_offset = point.x(); | 446 arrow_offset = point.x(); |
| 447 } | 447 } |
| 448 } | 448 } |
| 449 ShowDefaultViewWithOffset(BUBBLE_CREATE_NEW, arrow_offset); | 449 ShowDefaultViewWithOffset(BUBBLE_CREATE_NEW, arrow_offset); |
| 450 } | 450 } |
| 451 return true; | 451 return true; |
| 452 } | 452 } |
| 453 | 453 |
| 454 } // namespace ash | 454 } // namespace ash |
| OLD | NEW |