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

Unified Diff: ash/common/system/tiles/tiles_default_view.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs 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/system_notifier.cc ('k') | ash/common/system/tiles/tiles_default_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tiles/tiles_default_view.h
diff --git a/ash/common/system/tiles/tiles_default_view.h b/ash/common/system/tiles/tiles_default_view.h
deleted file mode 100644
index deab47a04f57c01be3c01beffde3959bfbb4e4b1..0000000000000000000000000000000000000000
--- a/ash/common/system/tiles/tiles_default_view.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2016 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_TILES_TILES_DEFAULT_VIEW_H_
-#define ASH_COMMON_SYSTEM_TILES_TILES_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 views {
-class CustomButton;
-}
-
-namespace ash {
-class SystemTrayItem;
-
-// The container view for the tiles in the bottom row of the system menu
-// (settings, help, lock, and power).
-class ASH_EXPORT TilesDefaultView : public views::View,
- public views::ButtonListener {
- public:
- TilesDefaultView(SystemTrayItem* owner, LoginStatus login);
- ~TilesDefaultView() override;
-
- // Sets the layout manager and child views of |this|.
- // TODO(tdanderson|bruthig): Consider moving the layout manager
- // setup code to a location which can be shared by other system menu rows.
- void Init();
-
- // views::ButtonListener:
- void ButtonPressed(views::Button* sender, const ui::Event& event) override;
-
- // Accessor needed to obtain the help button view for the first-run flow.
- views::View* GetHelpButtonView() const;
-
- const views::CustomButton* GetShutdownButtonViewForTest() const;
-
- private:
- friend class TrayTilesTest;
-
- SystemTrayItem* owner_;
- LoginStatus login_;
-
- // Pointers to the child buttons of |this|. Note that some buttons may not
- // exist (depending on the user's current login status, for instance), in
- // which case the corresponding pointer will be null.
- views::CustomButton* settings_button_;
- views::CustomButton* help_button_;
- views::CustomButton* lock_button_;
- views::CustomButton* power_button_;
-
- DISALLOW_COPY_AND_ASSIGN(TilesDefaultView);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_TILES_TILES_DEFAULT_VIEW_H_
« no previous file with comments | « ash/common/system/system_notifier.cc ('k') | ash/common/system/tiles/tiles_default_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698