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/date/tray_date.h" | 5 #include "ash/system/date/tray_date.h" |
6 | 6 |
7 #include "ash/session_state_delegate.h" | 7 #include "ash/session_state_delegate.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "ash/shell_delegate.h" | 9 #include "ash/shell_delegate.h" |
10 #include "ash/system/date/date_view.h" | 10 #include "ash/system/date/date_view.h" |
11 #include "ash/system/tray/system_tray.h" | 11 #include "ash/system/tray/system_tray.h" |
12 #include "ash/system/tray/system_tray_delegate.h" | 12 #include "ash/system/tray/system_tray_delegate.h" |
13 #include "ash/system/tray/system_tray_notifier.h" | 13 #include "ash/system/tray/system_tray_notifier.h" |
14 #include "ash/system/tray/tray_constants.h" | 14 #include "ash/system/tray/tray_constants.h" |
15 #include "ash/system/tray/tray_item_view.h" | 15 #include "ash/system/tray/tray_item_view.h" |
16 #include "ash/system/tray/tray_popup_header_button.h" | 16 #include "ash/system/tray/tray_popup_header_button.h" |
17 #include "base/i18n/time_formatting.h" | 17 #include "base/i18n/time_formatting.h" |
18 #include "base/stringprintf.h" | 18 #include "base/stringprintf.h" |
| 19 #include "base/strings/utf_string_conversions.h" |
19 #include "base/time.h" | 20 #include "base/time.h" |
20 #include "base/timer.h" | 21 #include "base/timer.h" |
21 #include "base/utf_string_conversions.h" | |
22 #include "grit/ash_resources.h" | 22 #include "grit/ash_resources.h" |
23 #include "grit/ash_strings.h" | 23 #include "grit/ash_strings.h" |
24 #include "third_party/icu/public/i18n/unicode/datefmt.h" | 24 #include "third_party/icu/public/i18n/unicode/datefmt.h" |
25 #include "third_party/icu/public/i18n/unicode/fieldpos.h" | 25 #include "third_party/icu/public/i18n/unicode/fieldpos.h" |
26 #include "third_party/icu/public/i18n/unicode/fmtable.h" | 26 #include "third_party/icu/public/i18n/unicode/fmtable.h" |
27 #include "third_party/skia/include/core/SkRect.h" | 27 #include "third_party/skia/include/core/SkRect.h" |
28 #include "ui/base/l10n/l10n_util.h" | 28 #include "ui/base/l10n/l10n_util.h" |
29 #include "ui/base/resource/resource_bundle.h" | 29 #include "ui/base/resource/resource_bundle.h" |
30 #include "ui/gfx/image/image.h" | 30 #include "ui/gfx/image/image.h" |
31 #include "ui/gfx/image/image_skia.h" | 31 #include "ui/gfx/image/image_skia.h" |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 time_tray_->UpdateTimeFormat(); | 200 time_tray_->UpdateTimeFormat(); |
201 } | 201 } |
202 | 202 |
203 void TrayDate::Refresh() { | 203 void TrayDate::Refresh() { |
204 if (time_tray_) | 204 if (time_tray_) |
205 time_tray_->UpdateText(); | 205 time_tray_->UpdateText(); |
206 } | 206 } |
207 | 207 |
208 } // namespace internal | 208 } // namespace internal |
209 } // namespace ash | 209 } // namespace ash |
OLD | NEW |