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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 11346028: Allow Caps Lock to be remapped [part 2 of 2] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 8 years, 1 month 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/common/chrome_switches.h ('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/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1437 // Enables request of tablet site (via user agent override). 1437 // Enables request of tablet site (via user agent override).
1438 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; 1438 const char kEnableRequestTabletSite[] = "enable-request-tablet-site";
1439 1439
1440 // Enables static ip configuration. This flag should be removed when it's on by 1440 // Enables static ip configuration. This flag should be removed when it's on by
1441 // default. 1441 // default.
1442 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; 1442 const char kEnableStaticIPConfig[] = "enable-static-ip-config";
1443 1443
1444 // Passed to Chrome on first boot. Not passed on restart after sign out. 1444 // Passed to Chrome on first boot. Not passed on restart after sign out.
1445 const char kFirstBoot[] = "first-boot"; 1445 const char kFirstBoot[] = "first-boot";
1446 1446
1447 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for
1448 // Chromeboxes.
1449 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard";
1450
1447 // Path for the screensaver used in Kiosk mode 1451 // Path for the screensaver used in Kiosk mode
1448 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path"; 1452 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path";
1449 1453
1450 // Enables Chrome-as-a-login-manager behavior. 1454 // Enables Chrome-as-a-login-manager behavior.
1451 const char kLoginManager[] = "login-manager"; 1455 const char kLoginManager[] = "login-manager";
1452 1456
1453 // Allows to override the first login screen. The value should be the name of 1457 // Allows to override the first login screen. The value should be the name of
1454 // the first login screen to show (see 1458 // the first login screen to show (see
1455 // chrome/browser/chromeos/login/login_wizard_view.cc for actual names). 1459 // chrome/browser/chromeos/login/login_wizard_view.cc for actual names).
1456 // Ignored if kLoginManager is not specified. TODO(avayvod): Remove when the 1460 // Ignored if kLoginManager is not specified. TODO(avayvod): Remove when the
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 return true; 1610 return true;
1607 #elif defined(OS_WIN) 1611 #elif defined(OS_WIN)
1608 return true; 1612 return true;
1609 #else 1613 #else
1610 return CommandLine::ForCurrentProcess()->HasSwitch( 1614 return CommandLine::ForCurrentProcess()->HasSwitch(
1611 switches::kEnableFramelessConstrainedDialogs); 1615 switches::kEnableFramelessConstrainedDialogs);
1612 #endif 1616 #endif
1613 } 1617 }
1614 1618
1615 } // namespace chrome 1619 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698