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_accessibility.h" | 5 #include "ash/system/tray_accessibility.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell_delegate.h" | 8 #include "ash/shell_delegate.h" |
9 #include "ash/system/tray/tray_constants.h" | 9 #include "ash/system/tray/tray_constants.h" |
10 #include "ash/system/tray/tray_views.h" | 10 #include "ash/system/tray/tray_views.h" |
11 #include "grit/ash_strings.h" | 11 #include "grit/ash_strings.h" |
12 #include "grit/ui_resources_standard.h" | 12 #include "grit/ui_resources.h" |
13 #include "ui/base/resource/resource_bundle.h" | 13 #include "ui/base/resource/resource_bundle.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/box_layout.h" | 17 #include "ui/views/layout/box_layout.h" |
18 #include "ui/views/widget/widget.h" | 18 #include "ui/views/widget/widget.h" |
19 | 19 |
20 namespace ash { | 20 namespace ash { |
21 namespace internal { | 21 namespace internal { |
22 | 22 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 string_id_ = string_id; | 120 string_id_ = string_id; |
121 PopupDetailedView(kTrayPopupAutoCloseDelayForTextInSeconds, false); | 121 PopupDetailedView(kTrayPopupAutoCloseDelayForTextInSeconds, false); |
122 } else if (detailed_) { | 122 } else if (detailed_) { |
123 string_id_ = 0; | 123 string_id_ = 0; |
124 detailed_->GetWidget()->Close(); | 124 detailed_->GetWidget()->Close(); |
125 } | 125 } |
126 } | 126 } |
127 | 127 |
128 } // namespace internal | 128 } // namespace internal |
129 } // namespace ash | 129 } // namespace ash |
OLD | NEW |