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

Unified Diff: ash/common/system/tray/tray_details_view.h

Issue 2698213004: Start removing some pre-md constants and related code. (Closed)
Patch Set: actually use the constant Created 3 years, 10 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
« no previous file with comments | « ash/common/system/tray/tray_constants.cc ('k') | ash/common/system/tray/tray_details_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_details_view.h
diff --git a/ash/common/system/tray/tray_details_view.h b/ash/common/system/tray/tray_details_view.h
index d7046e7c8e1f34efaee83b213db24541eff96b1c..2828763536eeed8422cd3eedd13264d109a0ec78 100644
--- a/ash/common/system/tray/tray_details_view.h
+++ b/ash/common/system/tray/tray_details_view.h
@@ -12,14 +12,10 @@
#include "ash/common/system/tray/tray_constants.h"
#include "ash/common/system/tray/view_click_listener.h"
#include "base/macros.h"
-#include "grit/ash_strings.h"
+#include "base/timer/timer.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/view.h"
-namespace base {
-class OneShotTimer;
-} // namespace base
-
namespace views {
class BoxLayout;
class CustomButton;
@@ -139,7 +135,7 @@ class ASH_EXPORT TrayDetailsView : public views::View,
views::Button* back_button_;
// Used to delay the transition to the default view.
- std::unique_ptr<base::OneShotTimer> transition_delay_timer_;
+ base::OneShotTimer transition_delay_timer_;
DISALLOW_COPY_AND_ASSIGN(TrayDetailsView);
};
« no previous file with comments | « ash/common/system/tray/tray_constants.cc ('k') | ash/common/system/tray/tray_details_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698