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

Unified Diff: ash/system/chromeos/managed/tray_locally_managed_user.h

Issue 393343002: Rename "managed (mode|user)" to "supervised user" (part 7) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more alphabetize (and rebase again) Created 6 years, 5 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/shelf/shelf_widget.cc ('k') | ash/system/chromeos/managed/tray_locally_managed_user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/managed/tray_locally_managed_user.h
diff --git a/ash/system/chromeos/managed/tray_locally_managed_user.h b/ash/system/chromeos/managed/tray_locally_managed_user.h
deleted file mode 100644
index 666530b3d85ca04c31d0707ffc4c98f091f78e4d..0000000000000000000000000000000000000000
--- a/ash/system/chromeos/managed/tray_locally_managed_user.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2012 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_CHROMEOS_LOCALLY_MANAGED_TRAY_LOCALLY_MANAGED_USER_H
-#define ASH_SYSTEM_CHROMEOS_LOCALLY_MANAGED_TRAY_LOCALLY_MANAGED_USER_H
-
-#include "ash/ash_export.h"
-#include "ash/system/tray/system_tray_item.h"
-#include "ash/system/tray/view_click_listener.h"
-#include "base/strings/string16.h"
-
-namespace ash {
-class LabelTrayView;
-class SystemTray;
-
-class ASH_EXPORT TrayLocallyManagedUser : public SystemTrayItem,
- public ViewClickListener {
- public:
- explicit TrayLocallyManagedUser(SystemTray* system_tray);
- virtual ~TrayLocallyManagedUser();
-
- // If message is not empty updates content of default view, otherwise hides
- // tray items.
- void UpdateMessage();
-
- // Overridden from SystemTrayItem.
- virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE;
- virtual void DestroyDefaultView() OVERRIDE;
- virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) OVERRIDE;
-
- // Overridden from ViewClickListener.
- virtual void OnViewClicked(views::View* sender) OVERRIDE;
-
- private:
- friend class TrayLocallyManagedUserTest;
-
- static const char kNotificationId[];
-
- void CreateOrUpdateNotification(const base::string16& new_message);
-
- LabelTrayView* tray_view_;
- // Previous login status to avoid showing notification upon unlock.
- user::LoginStatus status_;
-
- DISALLOW_COPY_AND_ASSIGN(TrayLocallyManagedUser);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_CHROMEOS_LOCALLY_MANAGED_TRAY_LOCALLY_MANAGED_USER_H
« no previous file with comments | « ash/shelf/shelf_widget.cc ('k') | ash/system/chromeos/managed/tray_locally_managed_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698