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

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

Issue 10386178: ash: Add a heads-up display to track touch-point states and positions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang/win-aura Created 8 years, 7 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | no next file » | 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 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 ::switches::kNoSandbox, 1068 ::switches::kNoSandbox,
1069 ::switches::kPpapiFlashArgs, 1069 ::switches::kPpapiFlashArgs,
1070 ::switches::kPpapiFlashInProcess, 1070 ::switches::kPpapiFlashInProcess,
1071 ::switches::kPpapiFlashPath, 1071 ::switches::kPpapiFlashPath,
1072 ::switches::kPpapiFlashVersion, 1072 ::switches::kPpapiFlashVersion,
1073 ::switches::kRendererStartupDialog, 1073 ::switches::kRendererStartupDialog,
1074 ::switches::kFlingTapSuppressMaxDown, 1074 ::switches::kFlingTapSuppressMaxDown,
1075 ::switches::kFlingTapSuppressMaxGap, 1075 ::switches::kFlingTapSuppressMaxGap,
1076 ::switches::kTouchDevices, 1076 ::switches::kTouchDevices,
1077 ::switches::kTouchOptimizedUI, 1077 ::switches::kTouchOptimizedUI,
1078 ash::switches::kAshTouchHud,
1078 ash::switches::kAuraLegacyPowerButton, 1079 ash::switches::kAuraLegacyPowerButton,
1079 ash::switches::kAuraNoShadows, 1080 ash::switches::kAuraNoShadows,
1080 ash::switches::kAuraPanelManager, 1081 ash::switches::kAuraPanelManager,
1081 ash::switches::kAuraWindowAnimationsDisabled, 1082 ash::switches::kAuraWindowAnimationsDisabled,
1082 ::switches::kUIEnablePartialSwap, 1083 ::switches::kUIEnablePartialSwap,
1083 ::switches::kUseGL, 1084 ::switches::kUseGL,
1084 ::switches::kUserDataDir, 1085 ::switches::kUserDataDir,
1085 #if defined(USE_VIRTUAL_KEYBOARD) 1086 #if defined(USE_VIRTUAL_KEYBOARD)
1086 // The virtual keyboard extension (chrome://keyboard) highly relies on 1087 // The virtual keyboard extension (chrome://keyboard) highly relies on
1087 // experimental APIs. 1088 // experimental APIs.
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 bool LoginUtils::IsWhitelisted(const std::string& username) { 1454 bool LoginUtils::IsWhitelisted(const std::string& username) {
1454 CrosSettings* cros_settings = CrosSettings::Get(); 1455 CrosSettings* cros_settings = CrosSettings::Get();
1455 bool allow_new_user = false; 1456 bool allow_new_user = false;
1456 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1457 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1457 if (allow_new_user) 1458 if (allow_new_user)
1458 return true; 1459 return true;
1459 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1460 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1460 } 1461 }
1461 1462
1462 } // namespace chromeos 1463 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698