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

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 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
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 1444 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 1455
1456 // Specifies the user which is already logged in. 1456 // Specifies the user which is already logged in.
1457 const char kLoginUser[] = "login-user"; 1457 const char kLoginUser[] = "login-user";
1458 1458
1459 // Specifies a password to be used to login (along with login-user). 1459 // Specifies a password to be used to login (along with login-user).
1460 const char kLoginPassword[] = "login-password"; 1460 const char kLoginPassword[] = "login-password";
1461 1461
1462 // Enables natural scroll by default. 1462 // Enables natural scroll by default.
1463 const char kNaturalScrollDefault[] = "enable-natural-scroll-default"; 1463 const char kNaturalScrollDefault[] = "enable-natural-scroll-default";
1464 1464
1465 // If true, the Chrome OS keyboard (with Search but without Caps Lock, Page Up,
Daniel Erat 2012/10/30 18:23:17 i'm not sure that the "without ... page up, page d
Yusuke Sato 2012/10/30 19:27:23 Good point. Updated the comment.
1466 // Page Down, ..) is available.
1467 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard";
1468
1465 // Disables tab discard in low memory conditions, a feature which silently 1469 // Disables tab discard in low memory conditions, a feature which silently
1466 // closes inactive tabs to free memory and to attempt to avoid the kernel's 1470 // closes inactive tabs to free memory and to attempt to avoid the kernel's
1467 // out-of-memory process killer. 1471 // out-of-memory process killer.
1468 const char kNoDiscardTabs[] = "no-discard-tabs"; 1472 const char kNoDiscardTabs[] = "no-discard-tabs";
1469 1473
1470 // Indicates that the browser is in "browse without sign-in" (Guest session) 1474 // Indicates that the browser is in "browse without sign-in" (Guest session)
1471 // mode. Should completely disable extensions, sync and bookmarks. 1475 // mode. Should completely disable extensions, sync and bookmarks.
1472 const char kGuestSession[] = "bwsi"; 1476 const char kGuestSession[] = "bwsi";
1473 1477
1474 // Enables overriding the path for the default echo component extension. 1478 // Enables overriding the path for the default echo component extension.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1590 return true; 1594 return true;
1591 #elif defined(OS_WIN) 1595 #elif defined(OS_WIN)
1592 return true; 1596 return true;
1593 #else 1597 #else
1594 return CommandLine::ForCurrentProcess()->HasSwitch( 1598 return CommandLine::ForCurrentProcess()->HasSwitch(
1595 switches::kEnableFramelessConstrainedDialogs); 1599 switches::kEnableFramelessConstrainedDialogs);
1596 #endif 1600 #endif
1597 } 1601 }
1598 1602
1599 } // namespace chrome 1603 } // namespace chrome
OLDNEW
« chrome/common/chrome_switches.h ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698