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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_common.h

Issue 1960293003: Remove OS_CHROMEOS from ui/ash code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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 | « chrome/browser/ui/ash/session_util.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/system_tray_delegate_common.h
diff --git a/chrome/browser/ui/ash/system_tray_delegate_common.h b/chrome/browser/ui/ash/system_tray_delegate_common.h
deleted file mode 100644
index a01e746a4d13ff1c82793a493b513a595d13cb7b..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/ash/system_tray_delegate_common.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 2014 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 CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_COMMON_H_
-#define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_COMMON_H_
-
-#include <memory>
-#include <string>
-
-#include "ash/system/tray/system_tray_delegate.h"
-#include "base/compiler_specific.h"
-#include "base/i18n/time_formatting.h"
-#include "base/macros.h"
-#include "content/public/browser/notification_observer.h"
-#include "content/public/browser/notification_registrar.h"
-
-// Common base class for platform-specific implementations.
-class SystemTrayDelegateCommon : public ash::SystemTrayDelegate,
- public content::NotificationObserver {
- public:
- SystemTrayDelegateCommon();
-
- ~SystemTrayDelegateCommon() override;
-
- // Overridden from ash::SystemTrayDelegate:
- void Initialize() override;
- void Shutdown() override;
- bool GetTrayVisibilityOnStartup() override;
- ash::user::LoginStatus GetUserLoginStatus() const override;
- bool IsUserSupervised() const override;
- bool IsUserChild() const override;
- void GetSystemUpdateInfo(ash::UpdateInfo* info) const override;
- base::HourClockType GetHourClockType() const override;
- void ShowChromeSlow() override;
- void ShowHelp() override;
- void RequestRestartForUpdate() override;
- int GetSystemTrayMenuWidth() override;
-
- private:
- void UpdateClockType();
-
- // content::NotificationObserver implementation.
- void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
-
- std::unique_ptr<content::NotificationRegistrar> registrar_;
- base::HourClockType clock_type_;
-
- DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateCommon);
-};
-
-#endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_COMMON_H_
« no previous file with comments | « chrome/browser/ui/ash/session_util.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698