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

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: Revert gtk2_util.cc 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
« 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 #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 // The same as the --class argument in X applications. Overrides the WM_CLASS
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
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
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