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

Unified Diff: ash/system/date/date_view.cc

Issue 2064953002: mash: Migrate tray date view to //ash/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trayviews
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: ash/system/date/date_view.cc
diff --git a/ash/system/date/date_view.cc b/ash/system/date/date_view.cc
index 7054ad7058365354468a19de75bacc60b1e850b0..d534f1492e1fa24447e55a1ce0a8e3c908aed665 100644
--- a/ash/system/date/date_view.cc
+++ b/ash/system/date/date_view.cc
@@ -8,7 +8,6 @@
#include "ash/common/system/tray/tray_constants.h"
#include "ash/common/system/tray/tray_utils.h"
#include "ash/common/wm_shell.h"
-#include "base/command_line.h"
#include "base/i18n/rtl.h"
#include "base/i18n/time_formatting.h"
#include "base/strings/utf_string_conversions.h"
@@ -144,6 +143,8 @@ void BaseDateTimeView::OnLocaleChanged() {
UpdateText();
}
+///////////////////////////////////////////////////////////////////////////////
+
DateView::DateView() : action_(TrayDate::NONE) {
SetLayoutManager(
new views::BoxLayout(

Powered by Google App Engine
This is Rietveld 408576698