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/network/tray_sms.h" | 5 #include "ash/system/network/tray_sms.h" |
6 | 6 |
7 #include "ash/ash_switches.h" | 7 #include "ash/ash_switches.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "ash/system/tray/system_tray.h" | 9 #include "ash/system/tray/system_tray.h" |
10 #include "ash/system/tray/tray_constants.h" | 10 #include "ash/system/tray/tray_constants.h" |
11 #include "ash/system/tray/tray_details_view.h" | 11 #include "ash/system/tray/tray_details_view.h" |
12 #include "ash/system/tray/tray_item_more.h" | 12 #include "ash/system/tray/tray_item_more.h" |
13 #include "ash/system/tray/tray_item_view.h" | 13 #include "ash/system/tray/tray_item_view.h" |
14 #include "ash/system/tray/tray_notification_view.h" | 14 #include "ash/system/tray/tray_notification_view.h" |
15 #include "ash/system/tray/tray_views.h" | 15 #include "ash/system/tray/tray_views.h" |
16 #include "base/command_line.h" | 16 #include "base/command_line.h" |
17 #include "base/string_number_conversions.h" | 17 #include "base/string_number_conversions.h" |
18 #include "base/utf_string_conversions.h" | 18 #include "base/utf_string_conversions.h" |
19 #include "grit/ash_strings.h" | 19 #include "grit/ash_strings.h" |
20 #include "grit/ui_resources_standard.h" | 20 #include "grit/ui_resources.h" |
21 #include "grit/ui_resources_standard.h" | |
22 #include "ui/base/l10n/l10n_util.h" | 21 #include "ui/base/l10n/l10n_util.h" |
23 #include "ui/base/resource/resource_bundle.h" | 22 #include "ui/base/resource/resource_bundle.h" |
24 #include "ui/views/controls/image_view.h" | 23 #include "ui/views/controls/image_view.h" |
25 #include "ui/views/controls/label.h" | 24 #include "ui/views/controls/label.h" |
26 #include "ui/views/layout/box_layout.h" | 25 #include "ui/views/layout/box_layout.h" |
27 #include "ui/views/layout/fill_layout.h" | 26 #include "ui/views/layout/fill_layout.h" |
28 #include "ui/views/layout/grid_layout.h" | 27 #include "ui/views/layout/grid_layout.h" |
29 #include "ui/views/view.h" | 28 #include "ui/views/view.h" |
30 | 29 |
31 namespace { | 30 namespace { |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 if (GetLatestMessage(&index, &number, &text)) | 369 if (GetLatestMessage(&index, &number, &text)) |
371 notification_->Update(index, number, text); | 370 notification_->Update(index, number, text); |
372 } else if (notify) { | 371 } else if (notify) { |
373 ShowNotificationView(); | 372 ShowNotificationView(); |
374 } | 373 } |
375 } | 374 } |
376 } | 375 } |
377 | 376 |
378 } // namespace internal | 377 } // namespace internal |
379 } // namespace ash | 378 } // namespace ash |
OLD | NEW |