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

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

Issue 11421055: Add power-user keyboard mode for ChromeOS with Search key acting as a typical Fn key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't avoid remapping Alt-Up etc when a PrefService isn't around 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 1418 matching lines...) Expand 10 before | Expand all | Expand 10 after
1429 const char kEnableTouchpadThreeFingerClick[] 1429 const char kEnableTouchpadThreeFingerClick[]
1430 = "enable-touchpad-three-finger-click"; 1430 = "enable-touchpad-three-finger-click";
1431 1431
1432 // Enables touchpad three-finger swipe. 1432 // Enables touchpad three-finger swipe.
1433 const char kEnableTouchpadThreeFingerSwipe[] 1433 const char kEnableTouchpadThreeFingerSwipe[]
1434 = "enable-touchpad-three-finger-swipe"; 1434 = "enable-touchpad-three-finger-swipe";
1435 1435
1436 // Skips OAuth part of ChromeOS login process. 1436 // Skips OAuth part of ChromeOS login process.
1437 const char kSkipOAuthLogin[] = "skip-oauth-login"; 1437 const char kSkipOAuthLogin[] = "skip-oauth-login";
1438 1438
1439 // If true, show advanced keyboard options to overload the search key as a way
1440 // to access keys such as Home and End, similar to the "Function key" found
1441 // commonly on laptop keyboards.
1442 const char kEnableChromeOSFunctionKey[] =
1443 "enable-chromeos-function-key";
1444
1439 // Enables the redirection of viewable document requests to the Google Document 1445 // Enables the redirection of viewable document requests to the Google Document
1440 // Viewer. 1446 // Viewer.
1441 const char kEnableGView[] = "enable-gview"; 1447 const char kEnableGView[] = "enable-gview";
1442 1448
1443 // Enable Kiosk mode for ChromeOS 1449 // Enable Kiosk mode for ChromeOS
1444 const char kEnableKioskMode[] = "enable-kiosk-mode"; 1450 const char kEnableKioskMode[] = "enable-kiosk-mode";
1445 1451
1446 // Enables request of tablet site (via user agent override). 1452 // Enables request of tablet site (via user agent override).
1447 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; 1453 const char kEnableRequestTabletSite[] = "enable-request-tablet-site";
1448 1454
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1623 #elif defined(OS_WIN) 1629 #elif defined(OS_WIN)
1624 return CommandLine::ForCurrentProcess()->HasSwitch( 1630 return CommandLine::ForCurrentProcess()->HasSwitch(
1625 switches::kEnableChromeStyleDialogs); 1631 switches::kEnableChromeStyleDialogs);
1626 #else 1632 #else
1627 return CommandLine::ForCurrentProcess()->HasSwitch( 1633 return CommandLine::ForCurrentProcess()->HasSwitch(
1628 switches::kEnableChromeStyleDialogs); 1634 switches::kEnableChromeStyleDialogs);
1629 #endif 1635 #endif
1630 } 1636 }
1631 1637
1632 } // namespace chrome 1638 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698