OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROFILES_AVATAR_MENU_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ |
6 #define CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ | 6 #define CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 void OnProfileWasRemoved(const base::FilePath& profile_path, | 156 void OnProfileWasRemoved(const base::FilePath& profile_path, |
157 const base::string16& profile_name) override; | 157 const base::string16& profile_name) override; |
158 void OnProfileNameChanged(const base::FilePath& profile_path, | 158 void OnProfileNameChanged(const base::FilePath& profile_path, |
159 const base::string16& old_profile_name) override; | 159 const base::string16& old_profile_name) override; |
160 void OnProfileUserNameChanged(const base::FilePath& profile_path) override; | 160 void OnProfileUserNameChanged(const base::FilePath& profile_path) override; |
161 void OnProfileAvatarChanged(const base::FilePath& profile_path) override; | 161 void OnProfileAvatarChanged(const base::FilePath& profile_path) override; |
162 void OnProfileHighResAvatarLoaded( | 162 void OnProfileHighResAvatarLoaded( |
163 const base::FilePath& profile_path) override; | 163 const base::FilePath& profile_path) override; |
164 void OnProfileSigninRequiredChanged( | 164 void OnProfileSigninRequiredChanged( |
165 const base::FilePath& profile_path) override; | 165 const base::FilePath& profile_path) override; |
| 166 void OnProfileIsOmittedChanged(const base::FilePath& profile_path) override; |
166 | 167 |
167 #if defined(ENABLE_SUPERVISED_USERS) | 168 #if defined(ENABLE_SUPERVISED_USERS) |
168 // SupervisedUserServiceObserver: | 169 // SupervisedUserServiceObserver: |
169 void OnCustodianInfoChanged() override; | 170 void OnCustodianInfoChanged() override; |
170 #endif | 171 #endif |
171 | 172 |
172 // Rebuilds the menu and notifies any observers that an update occured. | 173 // Rebuilds the menu and notifies any observers that an update occured. |
173 void Update(); | 174 void Update(); |
174 | 175 |
175 // The model that provides the list of menu items. | 176 // The model that provides the list of menu items. |
(...skipping 14 matching lines...) Expand all Loading... |
190 // The observer of this model, which is notified of changes. Weak. | 191 // The observer of this model, which is notified of changes. Weak. |
191 AvatarMenuObserver* observer_; | 192 AvatarMenuObserver* observer_; |
192 | 193 |
193 // Browser in which this avatar menu resides. Weak. | 194 // Browser in which this avatar menu resides. Weak. |
194 Browser* browser_; | 195 Browser* browser_; |
195 | 196 |
196 DISALLOW_COPY_AND_ASSIGN(AvatarMenu); | 197 DISALLOW_COPY_AND_ASSIGN(AvatarMenu); |
197 }; | 198 }; |
198 | 199 |
199 #endif // CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ | 200 #endif // CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ |
OLD | NEW |