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

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

Issue 2389403003: chromeos: Don't explicitly set system tray visibility during initialization (Closed)
Patch Set: unused var on windows Created 4 years, 2 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 public: 72 public:
73 SystemTrayDelegateChromeOS(); 73 SystemTrayDelegateChromeOS();
74 74
75 ~SystemTrayDelegateChromeOS() override; 75 ~SystemTrayDelegateChromeOS() override;
76 76
77 void InitializeOnAdapterReady( 77 void InitializeOnAdapterReady(
78 scoped_refptr<device::BluetoothAdapter> adapter); 78 scoped_refptr<device::BluetoothAdapter> adapter);
79 79
80 // Overridden from ash::SystemTrayDelegate: 80 // Overridden from ash::SystemTrayDelegate:
81 void Initialize() override; 81 void Initialize() override;
82 bool GetTrayVisibilityOnStartup() override;
83 ash::LoginStatus GetUserLoginStatus() const override; 82 ash::LoginStatus GetUserLoginStatus() const override;
84 std::string GetEnterpriseDomain() const override; 83 std::string GetEnterpriseDomain() const override;
85 base::string16 GetEnterpriseMessage() const override; 84 base::string16 GetEnterpriseMessage() const override;
86 std::string GetSupervisedUserManager() const override; 85 std::string GetSupervisedUserManager() const override;
87 base::string16 GetSupervisedUserManagerName() const override; 86 base::string16 GetSupervisedUserManagerName() const override;
88 base::string16 GetSupervisedUserMessage() const override; 87 base::string16 GetSupervisedUserMessage() const override;
89 bool IsUserSupervised() const override; 88 bool IsUserSupervised() const override;
90 bool IsUserChild() const override; 89 bool IsUserChild() const override;
91 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override; 90 void GetSystemUpdateInfo(ash::UpdateInfo* info) const override;
92 bool ShouldShowSettings() override; 91 bool ShouldShowSettings() override;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 289
291 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; 290 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_;
292 291
293 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); 292 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS);
294 }; 293 };
295 294
296 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); 295 ash::SystemTrayDelegate* CreateSystemTrayDelegate();
297 296
298 } // namespace chromeos 297 } // namespace chromeos
299 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ 298 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_widget_unittest.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698