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

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

Issue 2381753002: Use mojo SystemTray interfaces for both mash and classic ash (Closed)
Patch Set: Restructure based on feedback Created 4 years, 3 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: chrome/browser/ui/ash/system_tray_delegate_chromeos.h
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.h b/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
index def75b50cec9e80b0584b0d608e1f397a4feed43..02844f468f355e3f19343213fc66b681130ad658 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.h
@@ -70,7 +70,6 @@ class SystemTrayDelegateChromeOS
public user_manager::UserManager::UserSessionStateObserver,
public SupervisedUserServiceObserver,
public ShutdownPolicyHandler::Delegate,
- public system::SystemClockObserver,
public input_method::InputMethodManager::ImeMenuObserver {
public:
SystemTrayDelegateChromeOS();
@@ -92,10 +91,8 @@ class SystemTrayDelegateChromeOS
bool IsUserSupervised() const override;
bool IsUserChild() const override;
void GetSystemUpdateInfo(ash::UpdateInfo* info) const override;
- base::HourClockType GetHourClockType() const override;
void ShowSettings() override;
bool ShouldShowSettings() override;
- void ShowDateSettings() override;
void ShowSetTimeDialog() override;
void ShowNetworkSettingsForGuid(const std::string& guid) override;
void ShowDisplaySettings() override;
@@ -164,9 +161,6 @@ class SystemTrayDelegateChromeOS
// browser tests need to call ShouldUse24HourClock().
bool GetShouldUse24HourClockForTesting() const;
msw 2016/09/30 23:26:49 nit: can we remove this? (make tests call a new Sy
James Cook 2016/10/03 18:07:56 I inlined the implementation in the one test that
- // chromeos::system::SystemClockObserver implementation.
- void OnSystemClockChanged(system::SystemClock*) override;
-
private:
ash::SystemTray* GetPrimarySystemTray();

Powered by Google App Engine
This is Rietveld 408576698