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

Unified Diff: ash/system/date/date_default_view.h

Issue 2061123004: mash: Move //ash/system/date to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uma
Patch Set: rebase again 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
« no previous file with comments | « ash/system/chromeos/system_clock_observer.cc ('k') | ash/system/date/date_default_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/date/date_default_view.h
diff --git a/ash/system/date/date_default_view.h b/ash/system/date/date_default_view.h
deleted file mode 100644
index a2de81cc02ea948e2b7a5fd571b0f3bac61b3bfb..0000000000000000000000000000000000000000
--- a/ash/system/date/date_default_view.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_
-#define ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_
-
-#include "ash/ash_export.h"
-#include "ash/common/login_status.h"
-#include "ash/system/chromeos/shutdown_policy_observer.h"
-#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
-#include "ui/views/controls/button/button.h"
-#include "ui/views/view.h"
-
-namespace ash {
-namespace tray {
-class DateView;
-} // namespace tray
-
-class TrayPopupHeaderButton;
-
-// The system tray bubble view with the date and buttons for help, lock and
-// shutdown.
-class ASH_EXPORT DateDefaultView : public views::View,
- public views::ButtonListener,
- public ash::ShutdownPolicyObserver {
- public:
- explicit DateDefaultView(LoginStatus login);
-
- ~DateDefaultView() override;
-
- views::View* GetHelpButtonView();
- const views::View* GetShutdownButtonViewForTest() const;
-
- tray::DateView* GetDateView();
- const tray::DateView* GetDateView() const;
-
- // ash::ShutdownPolicyObserver:
- void OnShutdownPolicyChanged(bool reboot_on_shutdown) override;
-
- private:
- // Overridden from views::ButtonListener.
- void ButtonPressed(views::Button* sender, const ui::Event& event) override;
-
- TrayPopupHeaderButton* help_button_;
- TrayPopupHeaderButton* shutdown_button_;
- TrayPopupHeaderButton* lock_button_;
- tray::DateView* date_view_;
-
- base::WeakPtrFactory<DateDefaultView> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(DateDefaultView);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_
« no previous file with comments | « ash/system/chromeos/system_clock_observer.cc ('k') | ash/system/date/date_default_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698