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

Unified Diff: ash/common/system/chromeos/enterprise/tray_enterprise.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
Index: ash/common/system/chromeos/enterprise/tray_enterprise.h
diff --git a/ash/common/system/chromeos/enterprise/tray_enterprise.h b/ash/common/system/chromeos/enterprise/tray_enterprise.h
deleted file mode 100644
index bc335198ba4ca9d9f384aa0fc04796768860582c..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/enterprise/tray_enterprise.h
+++ /dev/null
@@ -1,46 +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_COMMON_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H_
-#define ASH_COMMON_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H_
-
-#include "ash/common/system/chromeos/enterprise/enterprise_domain_observer.h"
-#include "ash/common/system/tray/system_tray_item.h"
-#include "ash/common/system/tray/view_click_listener.h"
-#include "base/macros.h"
-
-namespace ash {
-class LabelTrayView;
-class SystemTray;
-
-class TrayEnterprise : public SystemTrayItem,
- public ViewClickListener,
- public EnterpriseDomainObserver {
- public:
- explicit TrayEnterprise(SystemTray* system_tray);
- ~TrayEnterprise() override;
-
- // If message is not empty updates content of default view, otherwise hides
- // tray items.
- void UpdateEnterpriseMessage();
-
- // Overridden from SystemTrayItem.
- views::View* CreateDefaultView(LoginStatus status) override;
- void DestroyDefaultView() override;
-
- // Overridden from EnterpriseDomainObserver.
- void OnEnterpriseDomainChanged() override;
-
- // Overridden from ViewClickListener.
- void OnViewClicked(views::View* sender) override;
-
- private:
- LabelTrayView* tray_view_;
-
- DISALLOW_COPY_AND_ASSIGN(TrayEnterprise);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_CHROMEOS_ENTERPRISE_TRAY_ENTERPRISE_H_

Powered by Google App Engine
This is Rietveld 408576698