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

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

Issue 10909242: Add "panel_fitting" GPU feature type and use it for mirror mode. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compilation on non-Chrome OS Created 8 years, 2 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
« no previous file with comments | « ash/shell.cc ('k') | chrome/browser/resources/gpu_internals/info_view.js » ('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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 ::switches::kRendererStartupDialog, 785 ::switches::kRendererStartupDialog,
786 ::switches::kFlingTapSuppressMaxDown, 786 ::switches::kFlingTapSuppressMaxDown,
787 ::switches::kFlingTapSuppressMaxGap, 787 ::switches::kFlingTapSuppressMaxGap,
788 ::switches::kTouchDevices, 788 ::switches::kTouchDevices,
789 ::switches::kTouchOptimizedUI, 789 ::switches::kTouchOptimizedUI,
790 ::switches::kOldCheckboxStyle, 790 ::switches::kOldCheckboxStyle,
791 ash::switches::kAshTouchHud, 791 ash::switches::kAshTouchHud,
792 ash::switches::kAshWindowAnimationsDisabled, 792 ash::switches::kAshWindowAnimationsDisabled,
793 ash::switches::kAuraLegacyPowerButton, 793 ash::switches::kAuraLegacyPowerButton,
794 ash::switches::kAuraNoShadows, 794 ash::switches::kAuraNoShadows,
795 ash::switches::kAshDisablePanelFitting,
795 ::switches::kUIEnablePartialSwap, 796 ::switches::kUIEnablePartialSwap,
796 ::switches::kUIPrioritizeInGpuProcess, 797 ::switches::kUIPrioritizeInGpuProcess,
797 #if defined(USE_CRAS) 798 #if defined(USE_CRAS)
798 ::switches::kUseCras, 799 ::switches::kUseCras,
799 #endif 800 #endif
800 ::switches::kUseGL, 801 ::switches::kUseGL,
801 ::switches::kUserDataDir, 802 ::switches::kUserDataDir,
802 chromeos::switches::kDbusStub, 803 chromeos::switches::kDbusStub,
803 }; 804 };
804 command_line->CopySwitchesFrom(base_command_line, 805 command_line->CopySwitchesFrom(base_command_line,
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 bool LoginUtils::IsWhitelisted(const std::string& username) { 1220 bool LoginUtils::IsWhitelisted(const std::string& username) {
1220 CrosSettings* cros_settings = CrosSettings::Get(); 1221 CrosSettings* cros_settings = CrosSettings::Get();
1221 bool allow_new_user = false; 1222 bool allow_new_user = false;
1222 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1223 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1223 if (allow_new_user) 1224 if (allow_new_user)
1224 return true; 1225 return true;
1225 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1226 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1226 } 1227 }
1227 1228
1228 } // namespace chromeos 1229 } // namespace chromeos
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | chrome/browser/resources/gpu_internals/info_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698