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

Side by Side Diff: chrome/browser/chromeos/login/login_utils.cc

Issue 11578044: Enable Search-key modifiers for extended key shortcuts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 #include "chrome/browser/chromeos/login/login_utils.h" 5 #include "chrome/browser/chromeos/login/login_utils.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_switches.h" 10 #include "ash/ash_switches.h"
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 ::switches::kDeviceManagementUrl, 783 ::switches::kDeviceManagementUrl,
784 ::switches::kForceDeviceScaleFactor, 784 ::switches::kForceDeviceScaleFactor,
785 ::switches::kDisableAccelerated2dCanvas, 785 ::switches::kDisableAccelerated2dCanvas,
786 ::switches::kDisableAcceleratedPlugins, 786 ::switches::kDisableAcceleratedPlugins,
787 ::switches::kDisableAcceleratedVideoDecode, 787 ::switches::kDisableAcceleratedVideoDecode,
788 ::switches::kDisableGpuWatchdog, 788 ::switches::kDisableGpuWatchdog,
789 ::switches::kDisableLoginAnimations, 789 ::switches::kDisableLoginAnimations,
790 ::switches::kDisableOobeAnimation, 790 ::switches::kDisableOobeAnimation,
791 ::switches::kDisableSeccompFilterSandbox, 791 ::switches::kDisableSeccompFilterSandbox,
792 ::switches::kDisableSeccompSandbox, 792 ::switches::kDisableSeccompSandbox,
793 ::switches::kEnableChromebookFunctionKey,
794 ::switches::kEnableCompositingForFixedPosition, 793 ::switches::kEnableCompositingForFixedPosition,
795 ::switches::kEnableEncryptedMedia, 794 ::switches::kEnableEncryptedMedia,
796 ::switches::kEnableLogging, 795 ::switches::kEnableLogging,
797 ::switches::kEnableUIReleaseFrontSurface, 796 ::switches::kEnableUIReleaseFrontSurface,
798 ::switches::kEnablePinch, 797 ::switches::kEnablePinch,
799 ::switches::kEnableGestureTapHighlight, 798 ::switches::kEnableGestureTapHighlight,
800 ::switches::kEnableSmoothScrolling, 799 ::switches::kEnableSmoothScrolling,
801 ::switches::kEnableThreadedCompositing, 800 ::switches::kEnableThreadedCompositing,
802 ::switches::kEnableViewport, 801 ::switches::kEnableViewport,
803 ::switches::kDisableThreadedCompositing, 802 ::switches::kDisableThreadedCompositing,
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 bool LoginUtils::IsWhitelisted(const std::string& username) { 1270 bool LoginUtils::IsWhitelisted(const std::string& username) {
1272 CrosSettings* cros_settings = CrosSettings::Get(); 1271 CrosSettings* cros_settings = CrosSettings::Get();
1273 bool allow_new_user = false; 1272 bool allow_new_user = false;
1274 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1273 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1275 if (allow_new_user) 1274 if (allow_new_user)
1276 return true; 1275 return true;
1277 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1276 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1278 } 1277 }
1279 1278
1280 } // namespace chromeos 1279 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698