OLD | NEW |
---|---|
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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1131 | 1131 |
1132 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 1132 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
1133 // These flags show the man page on Linux. They are equivalent to each | 1133 // These flags show the man page on Linux. They are equivalent to each |
1134 // other. | 1134 // other. |
1135 const char kHelp[] = "help"; | 1135 const char kHelp[] = "help"; |
1136 const char kHelpShort[] = "h"; | 1136 const char kHelpShort[] = "h"; |
1137 | 1137 |
1138 // Specifies which password store to use (detect, default, gnome, kwallet). | 1138 // Specifies which password store to use (detect, default, gnome, kwallet). |
1139 const char kPasswordStore[] = "password-store"; | 1139 const char kPasswordStore[] = "password-store"; |
1140 | 1140 |
1141 // Updates X11Desktophandler::wm_user_time_ms with the latest X server time. | 1141 // The same as the --class argument in X applications. Overrides the WM_CLASS |
Lei Zhang
2016/07/29 00:41:43
Just -class, as seen in "man xterm"
Tom (Use chromium acct)
2016/07/29 18:52:34
-class in xterm is different. xterm does not supp
Lei Zhang
2016/07/29 19:03:39
I thought more X apps supported -class, but it loo
| |
1142 // window property with the given value. | |
1143 const char kWmClass[] = "class"; | |
1144 | |
1145 // Updates X11DesktopHandler::wm_user_time_ms with the latest X server time. | |
1142 const char kWmUserTimeMs[] = "wm-user-time-ms"; | 1146 const char kWmUserTimeMs[] = "wm-user-time-ms"; |
1143 #endif | 1147 #endif |
1144 | 1148 |
1145 #if defined(OS_MACOSX) | 1149 #if defined(OS_MACOSX) |
1146 // Prevents Chrome from quitting when Chrome Apps are open. | 1150 // Prevents Chrome from quitting when Chrome Apps are open. |
1147 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests"; | 1151 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests"; |
1148 | 1152 |
1149 // Disable the toolkit-views App Info dialog for Mac. | 1153 // Disable the toolkit-views App Info dialog for Mac. |
1150 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; | 1154 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; |
1151 | 1155 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1337 | 1341 |
1338 // ----------------------------------------------------------------------------- | 1342 // ----------------------------------------------------------------------------- |
1339 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1343 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1340 // | 1344 // |
1341 // You were going to just dump your switches here, weren't you? Instead, please | 1345 // You were going to just dump your switches here, weren't you? Instead, please |
1342 // put them in alphabetical order above, or in order inside the appropriate | 1346 // put them in alphabetical order above, or in order inside the appropriate |
1343 // ifdef at the bottom. The order should match the header. | 1347 // ifdef at the bottom. The order should match the header. |
1344 // ----------------------------------------------------------------------------- | 1348 // ----------------------------------------------------------------------------- |
1345 | 1349 |
1346 } // namespace switches | 1350 } // namespace switches |
OLD | NEW |