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

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

Issue 9630002: Ash: Remove compact window mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OpaqueBrowserFrameView, MultipleWindowIndicatorButton Created 8 years, 9 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 #include "chrome/browser/chromeos/login/login_utils.h" 5 #include "chrome/browser/chromeos/login/login_utils.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1039 switches::kLoginProfile, 1039 switches::kLoginProfile,
1040 switches::kScrollPixels, 1040 switches::kScrollPixels,
1041 switches::kNoFirstRun, 1041 switches::kNoFirstRun,
1042 switches::kPpapiFlashArgs, 1042 switches::kPpapiFlashArgs,
1043 switches::kPpapiFlashInProcess, 1043 switches::kPpapiFlashInProcess,
1044 switches::kPpapiFlashPath, 1044 switches::kPpapiFlashPath,
1045 switches::kPpapiFlashVersion, 1045 switches::kPpapiFlashVersion,
1046 switches::kTouchDevices, 1046 switches::kTouchDevices,
1047 #if defined(USE_AURA) 1047 #if defined(USE_AURA)
1048 ash::switches::kAshUberTray, 1048 ash::switches::kAshUberTray,
1049 ash::switches::kAuraForceCompactWindowMode,
1050 ash::switches::kAuraLegacyPowerButton, 1049 ash::switches::kAuraLegacyPowerButton,
1051 ash::switches::kAuraNoShadows, 1050 ash::switches::kAuraNoShadows,
1052 ash::switches::kAuraPanelManager, 1051 ash::switches::kAuraPanelManager,
1053 ash::switches::kAuraWindowAnimationsDisabled, 1052 ash::switches::kAuraWindowAnimationsDisabled,
1054 switches::kUIEnablePartialSwap, 1053 switches::kUIEnablePartialSwap,
1055 switches::kUIUseGPUProcess, 1054 switches::kUIUseGPUProcess,
1056 #endif 1055 #endif
1057 switches::kUseGL, 1056 switches::kUseGL,
1058 switches::kUserDataDir, 1057 switches::kUserDataDir,
1059 #if defined(USE_VIRTUAL_KEYBOARD) 1058 #if defined(USE_VIRTUAL_KEYBOARD)
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1404 bool LoginUtils::IsWhitelisted(const std::string& username) { 1403 bool LoginUtils::IsWhitelisted(const std::string& username) {
1405 CrosSettings* cros_settings = CrosSettings::Get(); 1404 CrosSettings* cros_settings = CrosSettings::Get();
1406 bool allow_new_user = false; 1405 bool allow_new_user = false;
1407 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1406 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1408 if (allow_new_user) 1407 if (allow_new_user)
1409 return true; 1408 return true;
1410 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1409 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1411 } 1410 }
1412 1411
1413 } // namespace chromeos 1412 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698