Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: ash/system/date/date_view.h

Issue 2064953002: mash: Migrate tray date view to //ash/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trayviews
Patch Set: review feedback Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/system/date/date_default_view.cc ('k') | ash/system/date/date_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ash/system/date/date_default_view.cc ('k') | ash/system/date/date_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698