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

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

Issue 10388195: aura: Put pinch-to-zoom behind a flag (--enable-pinch or --enable-viewport) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('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 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 ::switches::kDisableAcceleratedPlugins, 1048 ::switches::kDisableAcceleratedPlugins,
1049 ::switches::kDisableGpuWatchdog, 1049 ::switches::kDisableGpuWatchdog,
1050 ::switches::kDisableLoginAnimations, 1050 ::switches::kDisableLoginAnimations,
1051 ::switches::kDisableSeccompFilterSandbox, 1051 ::switches::kDisableSeccompFilterSandbox,
1052 ::switches::kDisableSeccompSandbox, 1052 ::switches::kDisableSeccompSandbox,
1053 ::switches::kDisableThreadedAnimation, 1053 ::switches::kDisableThreadedAnimation,
1054 ::switches::kEnableDevicePolicy, 1054 ::switches::kEnableDevicePolicy,
1055 ::switches::kEnableGView, 1055 ::switches::kEnableGView,
1056 ::switches::kEnableLogging, 1056 ::switches::kEnableLogging,
1057 ::switches::kEnablePartialSwap, 1057 ::switches::kEnablePartialSwap,
1058 ::switches::kEnablePinch,
1058 ::switches::kEnableSmoothScrolling, 1059 ::switches::kEnableSmoothScrolling,
1059 ::switches::kEnableThreadedCompositing, 1060 ::switches::kEnableThreadedCompositing,
1060 ::switches::kEnableTouchEvents, 1061 ::switches::kEnableTouchEvents,
1061 ::switches::kEnableViewport, 1062 ::switches::kEnableViewport,
1062 ::switches::kDisableThreadedCompositing, 1063 ::switches::kDisableThreadedCompositing,
1063 ::switches::kForceCompositingMode, 1064 ::switches::kForceCompositingMode,
1064 ::switches::kGpuStartupDialog, 1065 ::switches::kGpuStartupDialog,
1065 ::switches::kLoginProfile, 1066 ::switches::kLoginProfile,
1066 ::switches::kScrollPixels, 1067 ::switches::kScrollPixels,
1067 ::switches::kNoFirstRun, 1068 ::switches::kNoFirstRun,
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 bool LoginUtils::IsWhitelisted(const std::string& username) { 1455 bool LoginUtils::IsWhitelisted(const std::string& username) {
1455 CrosSettings* cros_settings = CrosSettings::Get(); 1456 CrosSettings* cros_settings = CrosSettings::Get();
1456 bool allow_new_user = false; 1457 bool allow_new_user = false;
1457 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); 1458 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user);
1458 if (allow_new_user) 1459 if (allow_new_user)
1459 return true; 1460 return true;
1460 return cros_settings->FindEmailInList(kAccountsPrefUsers, username); 1461 return cros_settings->FindEmailInList(kAccountsPrefUsers, username);
1461 } 1462 }
1462 1463
1463 } // namespace chromeos 1464 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698