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

Side by Side Diff: ash/system/tray/default_system_tray_delegate.h

Issue 210903003: Implemented system tray UI for new account management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More comments addressed. Created 6 years, 9 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 | Annotate | Revision Log
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 ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/system/tray/system_tray_delegate.h" 9 #include "ash/system/tray/system_tray_delegate.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 scoped_ptr<VolumeControlDelegate> delegate) OVERRIDE; 86 scoped_ptr<VolumeControlDelegate> delegate) OVERRIDE;
87 virtual bool GetSessionStartTime( 87 virtual bool GetSessionStartTime(
88 base::TimeTicks* session_start_time) OVERRIDE; 88 base::TimeTicks* session_start_time) OVERRIDE;
89 virtual bool GetSessionLengthLimit( 89 virtual bool GetSessionLengthLimit(
90 base::TimeDelta* session_length_limit) OVERRIDE; 90 base::TimeDelta* session_length_limit) OVERRIDE;
91 virtual int GetSystemTrayMenuWidth() OVERRIDE; 91 virtual int GetSystemTrayMenuWidth() OVERRIDE;
92 virtual void ActiveUserWasChanged() OVERRIDE; 92 virtual void ActiveUserWasChanged() OVERRIDE;
93 virtual bool IsNetworkBehindCaptivePortal( 93 virtual bool IsNetworkBehindCaptivePortal(
94 const std::string& service_path) const OVERRIDE; 94 const std::string& service_path) const OVERRIDE;
95 virtual bool IsSearchKeyMappedToCapsLock() OVERRIDE; 95 virtual bool IsSearchKeyMappedToCapsLock() OVERRIDE;
96 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate(
97 const std::string& user_id) OVERRIDE;
96 98
97 private: 99 private:
98 bool bluetooth_enabled_; 100 bool bluetooth_enabled_;
99 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; 101 scoped_ptr<VolumeControlDelegate> volume_control_delegate_;
100 102
101 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); 103 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate);
102 }; 104 };
103 105
104 } // namespace ash 106 } // namespace ash
105 107
106 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ 108 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698