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

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

Issue 2778143002: More pre-MD cleanup (Closed)
Patch Set: update c/b Created 3 years, 9 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/BUILD.gn ('k') | ash/common/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/common/system/date/date_default_view.h
diff --git a/ash/common/system/date/date_default_view.h b/ash/common/system/date/date_default_view.h
deleted file mode 100644
index 6adaee0b61513f7dfc5cf69ed4ad6862fd289ee1..0000000000000000000000000000000000000000
--- a/ash/common/system/date/date_default_view.h
+++ /dev/null
@@ -1,53 +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_COMMON_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_
-#define ASH_COMMON_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_
-
-#include "ash/ash_export.h"
-#include "ash/common/login_status.h"
-#include "base/macros.h"
-#include "ui/views/controls/button/button.h"
-#include "ui/views/view.h"
-
-namespace ash {
-namespace tray {
-class DateView;
-} // namespace tray
-
-class SystemTrayItem;
-class TrayPopupHeaderButton;
-
-// The system tray bubble view with the date and buttons for help, lock and
-// shutdown.
-// TODO(tdanderson): Remove this class once material design is enabled by
-// default. See crbug.com/614453.
-class ASH_EXPORT DateDefaultView : public views::View,
- public views::ButtonListener {
- public:
- DateDefaultView(SystemTrayItem* owner, LoginStatus login);
-
- ~DateDefaultView() override;
-
- views::View* GetHelpButtonView();
- const views::View* GetShutdownButtonViewForTest() const;
-
- tray::DateView* GetDateView();
- const tray::DateView* GetDateView() const;
-
- 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_;
-
- DISALLOW_COPY_AND_ASSIGN(DateDefaultView);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/system/date/date_default_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698