| 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 #ifndef ASH_SYSTEM_DATE_DATE_VIEW_H_ | 5 #ifndef ASH_SYSTEM_DATE_DATE_VIEW_H_ |
| 6 #define ASH_SYSTEM_DATE_DATE_VIEW_H_ | 6 #define ASH_SYSTEM_DATE_DATE_VIEW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "ash/common/system/tray/actionable_view.h" | 11 #include "ash/common/system/tray/actionable_view.h" |
| 12 #include "ash/system/date/tray_date.h" | 12 #include "ash/system/date/tray_date.h" |
| 13 #include "base/i18n/time_formatting.h" | 13 #include "base/i18n/time_formatting.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
| 16 #include "ui/views/view.h" | 16 #include "ui/views/view.h" |
| 17 | 17 |
| 18 namespace base { |
| 19 class Time; |
| 20 } |
| 21 |
| 18 namespace views { | 22 namespace views { |
| 19 class Label; | 23 class Label; |
| 20 } | 24 } |
| 21 | 25 |
| 22 namespace ash { | 26 namespace ash { |
| 23 namespace tray { | 27 namespace tray { |
| 24 | 28 |
| 25 // Abstract base class containing common updating and layout code for the | 29 // Abstract base class containing common updating and layout code for the |
| 26 // DateView popup and the TimeView tray icon. Exported for tests. | 30 // DateView popup and the TimeView tray icon. Exported for tests. |
| 27 class ASH_EXPORT BaseDateTimeView : public ActionableView { | 31 class ASH_EXPORT BaseDateTimeView : public ActionableView { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 std::unique_ptr<views::Label> vertical_label_hours_; | 137 std::unique_ptr<views::Label> vertical_label_hours_; |
| 134 std::unique_ptr<views::Label> vertical_label_minutes_; | 138 std::unique_ptr<views::Label> vertical_label_minutes_; |
| 135 | 139 |
| 136 DISALLOW_COPY_AND_ASSIGN(TimeView); | 140 DISALLOW_COPY_AND_ASSIGN(TimeView); |
| 137 }; | 141 }; |
| 138 | 142 |
| 139 } // namespace tray | 143 } // namespace tray |
| 140 } // namespace ash | 144 } // namespace ash |
| 141 | 145 |
| 142 #endif // ASH_SYSTEM_DATE_DATE_VIEW_H_ | 146 #endif // ASH_SYSTEM_DATE_DATE_VIEW_H_ |
| OLD | NEW |