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

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

Issue 11421055: Add power-user keyboard mode for ChromeOS with Search key acting as a typical Fn key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SkyNits 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/preferences.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 ::switches::kDeviceManagementUrl, 765 ::switches::kDeviceManagementUrl,
766 ::switches::kForceDeviceScaleFactor, 766 ::switches::kForceDeviceScaleFactor,
767 ::switches::kDisableAccelerated2dCanvas, 767 ::switches::kDisableAccelerated2dCanvas,
768 ::switches::kDisableAcceleratedPlugins, 768 ::switches::kDisableAcceleratedPlugins,
769 ::switches::kDisableAcceleratedVideoDecode, 769 ::switches::kDisableAcceleratedVideoDecode,
770 ::switches::kDisableGpuWatchdog, 770 ::switches::kDisableGpuWatchdog,
771 ::switches::kDisableLoginAnimations, 771 ::switches::kDisableLoginAnimations,
772 ::switches::kDisableOobeAnimation, 772 ::switches::kDisableOobeAnimation,
773 ::switches::kDisableSeccompFilterSandbox, 773 ::switches::kDisableSeccompFilterSandbox,
774 ::switches::kDisableSeccompSandbox, 774 ::switches::kDisableSeccompSandbox,
775 ::switches::kEnableChromebookFunctionKey,
775 ::switches::kEnableCompositingForFixedPosition, 776 ::switches::kEnableCompositingForFixedPosition,
776 ::switches::kEnableEncryptedMedia, 777 ::switches::kEnableEncryptedMedia,
777 ::switches::kEnableGView, 778 ::switches::kEnableGView,
778 ::switches::kEnableLogging, 779 ::switches::kEnableLogging,
779 ::switches::kEnableUIReleaseFrontSurface, 780 ::switches::kEnableUIReleaseFrontSurface,
780 ::switches::kEnablePinch, 781 ::switches::kEnablePinch,
781 ::switches::kEnableGestureTapHighlight, 782 ::switches::kEnableGestureTapHighlight,
782 ::switches::kEnableSmoothScrolling, 783 ::switches::kEnableSmoothScrolling,
783 ::switches::kEnableThreadedCompositing, 784 ::switches::kEnableThreadedCompositing,
784 ::switches::kEnableViewport, 785 ::switches::kEnableViewport,
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 bool LoginUtils::IsWhitelisted(const std::string& username) { 1249 bool LoginUtils::IsWhitelisted(const std::string& username) {
1249 CrosSettings* cros_settings = CrosSettings::Get(); 1250 CrosSettings* cros_settings = CrosSettings::Get();
1250 bool allow_new_user = false; 1251 bool allow_new_user = false;
1251 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1252 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1252 if (allow_new_user) 1253 if (allow_new_user)
1253 return true; 1254 return true;
1254 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1255 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1255 } 1256 }
1256 1257
1257 } // namespace chromeos 1258 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698