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

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

Issue 2724923004: cocoa: add --use-views-task-manager (Closed)
Patch Set: use a base::Feature Created 3 years, 9 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 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 1041
1042 // When switches::kProcessType is switches::kRelauncherProcess, if this switch 1042 // When switches::kProcessType is switches::kRelauncherProcess, if this switch
1043 // is also present, the relauncher process will unmount and eject a mounted disk 1043 // is also present, the relauncher process will unmount and eject a mounted disk
1044 // image and move its disk image file to the trash. The argument's value must 1044 // image and move its disk image file to the trash. The argument's value must
1045 // be a BSD device name of the form "diskN" or "diskNsM". 1045 // be a BSD device name of the form "diskN" or "diskNsM".
1046 const char kRelauncherProcessDMGDevice[] = "dmg-device"; 1046 const char kRelauncherProcessDMGDevice[] = "dmg-device";
1047 1047
1048 // Indicates whether Chrome should be set as the default browser during 1048 // Indicates whether Chrome should be set as the default browser during
1049 // installation. 1049 // installation.
1050 const char kMakeChromeDefault[] = "make-chrome-default"; 1050 const char kMakeChromeDefault[] = "make-chrome-default";
1051
1052 // Indicates whether to use the Views Task Manager.
1053 const base::Feature kViewsTaskManager{"ViewsTaskManager",
1054 base::FEATURE_DISABLED_BY_DEFAULT};
1051 #endif // defined(OS_MACOSX) 1055 #endif // defined(OS_MACOSX)
1052 1056
1053 #if defined(OS_WIN) 1057 #if defined(OS_WIN)
1054 // Disables per monitor DPI for supported Windows versions. 1058 // Disables per monitor DPI for supported Windows versions.
1055 // This flag overrides kEnablePerMonitorDpi. 1059 // This flag overrides kEnablePerMonitorDpi.
1056 const char kDisablePerMonitorDpi[] = "disable-per-monitor-dpi"; 1060 const char kDisablePerMonitorDpi[] = "disable-per-monitor-dpi";
1057 1061
1058 // Fallback to XPS. By default connector uses CDD. 1062 // Fallback to XPS. By default connector uses CDD.
1059 const char kEnableCloudPrintXps[] = "enable-cloud-print-xps"; 1063 const char kEnableCloudPrintXps[] = "enable-cloud-print-xps";
1060 1064
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 1177
1174 // ----------------------------------------------------------------------------- 1178 // -----------------------------------------------------------------------------
1175 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1179 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1176 // 1180 //
1177 // You were going to just dump your switches here, weren't you? Instead, please 1181 // You were going to just dump your switches here, weren't you? Instead, please
1178 // put them in alphabetical order above, or in order inside the appropriate 1182 // put them in alphabetical order above, or in order inside the appropriate
1179 // ifdef at the bottom. The order should match the header. 1183 // ifdef at the bottom. The order should match the header.
1180 // ----------------------------------------------------------------------------- 1184 // -----------------------------------------------------------------------------
1181 1185
1182 } // namespace switches 1186 } // namespace switches
OLDNEW
« chrome/browser/ui/cocoa/task_manager_mac.mm ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698