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

Side by Side Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.h

Issue 2148943002: mash: Create system tray display and rotation lock items via delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 base::string16 GetSupervisedUserMessage() const override; 91 base::string16 GetSupervisedUserMessage() const override;
92 bool IsUserSupervised() const override; 92 bool IsUserSupervised() const override;
93 bool IsUserChild() const override; 93 bool IsUserChild() const override;
94 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override; 94 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override;
95 base::HourClockType GetHourClockType() const override; 95 base::HourClockType GetHourClockType() const override;
96 void ShowSettings() override; 96 void ShowSettings() override;
97 bool ShouldShowSettings() override; 97 bool ShouldShowSettings() override;
98 void ShowDateSettings() override; 98 void ShowDateSettings() override;
99 void ShowSetTimeDialog() override; 99 void ShowSetTimeDialog() override;
100 void ShowNetworkSettingsForGuid(const std::string& guid) override; 100 void ShowNetworkSettingsForGuid(const std::string& guid) override;
101 std::unique_ptr<ash::SystemTrayItem> CreateDisplayTrayItem(
102 ash::SystemTray* tray) override;
101 void ShowDisplaySettings() override; 103 void ShowDisplaySettings() override;
102 void ShowPowerSettings() override; 104 void ShowPowerSettings() override;
103 void ShowChromeSlow() override; 105 void ShowChromeSlow() override;
104 bool ShouldShowDisplayNotification() override; 106 bool ShouldShowDisplayNotification() override;
105 void ShowIMESettings() override; 107 void ShowIMESettings() override;
106 void ShowHelp() override; 108 void ShowHelp() override;
107 void ShowAccessibilityHelp() override; 109 void ShowAccessibilityHelp() override;
108 void ShowAccessibilitySettings() override; 110 void ShowAccessibilitySettings() override;
109 void ShowPublicAccountInfo() override; 111 void ShowPublicAccountInfo() override;
110 void ShowSupervisedUserInfo() override; 112 void ShowSupervisedUserInfo() override;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 316
315 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; 317 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_;
316 318
317 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); 319 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS);
318 }; 320 };
319 321
320 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); 322 ash::SystemTrayDelegate* CreateSystemTrayDelegate();
321 323
322 } // namespace chromeos 324 } // namespace chromeos
323 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 325 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698