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

Side by Side Diff: chrome/browser/chromeos/login/user_manager_impl.h

Issue 155493002: Add key based scrolling on magnified screen for kiosk mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 (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_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 virtual void OnPolicyUpdated(const std::string& user_id) OVERRIDE; 163 virtual void OnPolicyUpdated(const std::string& user_id) OVERRIDE;
164 virtual void OnDeviceLocalAccountsChanged() OVERRIDE; 164 virtual void OnDeviceLocalAccountsChanged() OVERRIDE;
165 165
166 virtual bool RespectLocalePreference( 166 virtual bool RespectLocalePreference(
167 Profile* profile, 167 Profile* profile,
168 const User* user, 168 const User* user,
169 scoped_ptr<locale_util::SwitchLanguageCallback> callback) const OVERRIDE; 169 scoped_ptr<locale_util::SwitchLanguageCallback> callback) const OVERRIDE;
170 170
171 void StopPolicyObserverForTesting(); 171 void StopPolicyObserverForTesting();
172 172
173 static UserManager* CreateForTest() {
174 return new UserManagerImpl();
175 }
176
173 private: 177 private:
174 friend class extensions::ExternalComponentLoaderTest; 178 friend class extensions::ExternalComponentLoaderTest;
175 friend class SupervisedUserManagerImpl; 179 friend class SupervisedUserManagerImpl;
176 friend class UserManager; 180 friend class UserManager;
177 friend class WallpaperManager; 181 friend class WallpaperManager;
178 friend class UserManagerTest; 182 friend class UserManagerTest;
179 friend class WallpaperManagerTest; 183 friend class WallpaperManagerTest;
180 184
181 typedef base::hash_map<std::string, 185 typedef base::hash_map<std::string,
182 linked_ptr<UserImageManager> > UserImageManagerMap; 186 linked_ptr<UserImageManager> > UserImageManagerMap;
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 482
479 // Observer for the policy that can be used to manage user images. 483 // Observer for the policy that can be used to manage user images.
480 scoped_ptr<policy::CloudExternalDataPolicyObserver> policy_observer_; 484 scoped_ptr<policy::CloudExternalDataPolicyObserver> policy_observer_;
481 485
482 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); 486 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl);
483 }; 487 };
484 488
485 } // namespace chromeos 489 } // namespace chromeos
486 490
487 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 491 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698