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

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

Issue 2186813002: Linux: Support the --class argument (Reland) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add internal namespace Created 4 years, 4 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
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 #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
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 // Sets WM_CLASS with this value.
Lei Zhang 2016/07/28 21:28:46 You may want to mention this is similar to -class
Tom (Use chromium acct) 2016/07/28 23:02:13 done That's much better than grepping through *_sw
1142 const char kWmClass[] = "class";
1143
1144 // Updates X11DesktopHandler::wm_user_time_ms with the latest X server time.
1142 const char kWmUserTimeMs[] = "wm-user-time-ms"; 1145 const char kWmUserTimeMs[] = "wm-user-time-ms";
1143 #endif 1146 #endif
1144 1147
1145 #if defined(OS_MACOSX) 1148 #if defined(OS_MACOSX)
1146 // Prevents Chrome from quitting when Chrome Apps are open. 1149 // Prevents Chrome from quitting when Chrome Apps are open.
1147 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests"; 1150 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests";
1148 1151
1149 // Disable the toolkit-views App Info dialog for Mac. 1152 // Disable the toolkit-views App Info dialog for Mac.
1150 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; 1153 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac";
1151 1154
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 1340
1338 // ----------------------------------------------------------------------------- 1341 // -----------------------------------------------------------------------------
1339 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1342 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1340 // 1343 //
1341 // You were going to just dump your switches here, weren't you? Instead, please 1344 // 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 1345 // put them in alphabetical order above, or in order inside the appropriate
1343 // ifdef at the bottom. The order should match the header. 1346 // ifdef at the bottom. The order should match the header.
1344 // ----------------------------------------------------------------------------- 1347 // -----------------------------------------------------------------------------
1345 1348
1346 } // namespace switches 1349 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698