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

Unified Diff: ash/system/tray/default_system_tray_delegate.h

Issue 2056823002: mash: Move SystemTrayDelegate and dependencies to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/system/status_area_widget.cc ('k') | ash/system/tray/default_system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/default_system_tray_delegate.h
diff --git a/ash/system/tray/default_system_tray_delegate.h b/ash/system/tray/default_system_tray_delegate.h
deleted file mode 100644
index a340739e1bf5cbc288f828abd9e1795b5c1735af..0000000000000000000000000000000000000000
--- a/ash/system/tray/default_system_tray_delegate.h
+++ /dev/null
@@ -1,49 +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_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
-#define ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
-
-#include <memory>
-
-#include "ash/ash_export.h"
-#include "ash/system/tray/system_tray_delegate.h"
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-
-namespace ash {
-
-class ASH_EXPORT DefaultSystemTrayDelegate : public SystemTrayDelegate {
- public:
- DefaultSystemTrayDelegate();
- ~DefaultSystemTrayDelegate() override;
-
- // SystemTrayDelegate
- bool GetTrayVisibilityOnStartup() override;
- LoginStatus GetUserLoginStatus() const override;
- std::string GetSupervisedUserManager() const override;
- bool IsUserSupervised() const override;
- void GetSystemUpdateInfo(UpdateInfo* info) const override;
- bool ShouldShowSettings() override;
- bool ShouldShowDisplayNotification() override;
- void ToggleBluetooth() override;
- bool IsBluetoothDiscovering() override;
- bool GetBluetoothAvailable() override;
- bool GetBluetoothEnabled() override;
- bool GetBluetoothDiscovering() override;
- VolumeControlDelegate* GetVolumeControlDelegate() const override;
- void SetVolumeControlDelegate(
- std::unique_ptr<VolumeControlDelegate> delegate) override;
- int GetSystemTrayMenuWidth() override;
-
- private:
- bool bluetooth_enabled_;
- std::unique_ptr<VolumeControlDelegate> volume_control_delegate_;
-
- DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
« no previous file with comments | « ash/system/status_area_widget.cc ('k') | ash/system/tray/default_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698