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

Unified Diff: ash/common/system/user/tray_user_separator.h

Issue 2678353005: Remove pre-MD code related to tray/menu user profiles. (Closed)
Patch Set: back out a11y changes and rebase 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/user/tray_user.cc ('k') | ash/common/system/user/tray_user_separator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/user/tray_user_separator.h
diff --git a/ash/common/system/user/tray_user_separator.h b/ash/common/system/user/tray_user_separator.h
deleted file mode 100644
index 6255060d3cb20dbc178368c45790b1d48da3bbdd..0000000000000000000000000000000000000000
--- a/ash/common/system/user/tray_user_separator.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 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_USER_TRAY_USER_SEPARATOR_H_
-#define ASH_COMMON_SYSTEM_USER_TRAY_USER_SEPARATOR_H_
-
-#include "ash/ash_export.h"
-#include "ash/common/system/tray/system_tray_item.h"
-#include "base/macros.h"
-
-namespace ash {
-
-// This tray item is showing an additional separator line between the logged in
-// users and the rest of the system tray menu. The separator will only be shown
-// when there are at least two users logged in.
-class ASH_EXPORT TrayUserSeparator : public SystemTrayItem {
- public:
- explicit TrayUserSeparator(SystemTray* system_tray);
- ~TrayUserSeparator() override {}
-
- // Returns true if the separator gets shown.
- bool separator_shown() { return separator_shown_; }
-
- private:
- // Overridden from SystemTrayItem.
- views::View* CreateDefaultView(LoginStatus status) override;
- void DestroyDefaultView() override;
-
- // True if the separator gets shown.
- bool separator_shown_;
-
- DISALLOW_COPY_AND_ASSIGN(TrayUserSeparator);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_USER_TRAY_USER_SEPARATOR_H_
« no previous file with comments | « ash/common/system/user/tray_user.cc ('k') | ash/common/system/user/tray_user_separator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698