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

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

Issue 1166823002: Add a chrome://flag for the App Info dialog on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20150603-MacViews-ModalChildConstrained-fromcl
Patch Set: Rebase after typo fix Created 5 years, 6 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') | tools/metrics/histograms/histograms.xml » ('j') | 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 9
10 namespace switches { 10 namespace switches {
(...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) 1208 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
1209 1209
1210 #if defined(OS_MACOSX) 1210 #if defined(OS_MACOSX)
1211 // Prevents Chrome from quitting when Chrome Apps are open. 1211 // Prevents Chrome from quitting when Chrome Apps are open.
1212 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests"; 1212 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests";
1213 1213
1214 // Shows a notification when quitting Chrome with hosted apps running. Default 1214 // Shows a notification when quitting Chrome with hosted apps running. Default
1215 // behavior is to also quit all hosted apps. 1215 // behavior is to also quit all hosted apps.
1216 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification"; 1216 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification";
1217 1217
1218 // Disable the toolkit-views App Info dialog for Mac.
1219 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac";
1220
1218 // Disables app shim creation for hosted apps on Mac. 1221 // Disables app shim creation for hosted apps on Mac.
1219 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; 1222 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation";
1220 1223
1221 // Forcibly disables Lion-style on newer OSes, to allow developers to test the 1224 // Forcibly disables Lion-style on newer OSes, to allow developers to test the
1222 // older, SnowLeopard-style fullscreen. 1225 // older, SnowLeopard-style fullscreen.
1223 const char kDisableSystemFullscreenForTesting[] = 1226 const char kDisableSystemFullscreenForTesting[] =
1224 "disable-system-fullscreen-for-testing"; 1227 "disable-system-fullscreen-for-testing";
1225 1228
1229 // Enable the toolkit-views App Info dialog for Mac. This is accessible from
1230 // chrome://apps and chrome://extensions and is already enabled on non-mac.
1231 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac";
1232
1226 // Enables Translate experimental new UX which replaces the infobar. 1233 // Enables Translate experimental new UX which replaces the infobar.
1227 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; 1234 const char kEnableTranslateNewUX[] = "enable-translate-new-ux";
1228 1235
1229 // This is how the metrics client ID is passed from the browser process to its 1236 // This is how the metrics client ID is passed from the browser process to its
1230 // children. With Crashpad, the metrics client ID is distinct from the crash 1237 // children. With Crashpad, the metrics client ID is distinct from the crash
1231 // client ID. 1238 // client ID.
1232 const char kMetricsClientID[] = "metrics-client-id"; 1239 const char kMetricsClientID[] = "metrics-client-id";
1233 1240
1234 // A process type (switches::kProcessType) that relaunches the browser. See 1241 // A process type (switches::kProcessType) that relaunches the browser. See
1235 // chrome/browser/mac/relauncher.h. 1242 // chrome/browser/mac/relauncher.h.
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 1362
1356 // ----------------------------------------------------------------------------- 1363 // -----------------------------------------------------------------------------
1357 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1364 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1358 // 1365 //
1359 // You were going to just dump your switches here, weren't you? Instead, please 1366 // You were going to just dump your switches here, weren't you? Instead, please
1360 // put them in alphabetical order above, or in order inside the appropriate 1367 // put them in alphabetical order above, or in order inside the appropriate
1361 // ifdef at the bottom. The order should match the header. 1368 // ifdef at the bottom. The order should match the header.
1362 // ----------------------------------------------------------------------------- 1369 // -----------------------------------------------------------------------------
1363 1370
1364 } // namespace switches 1371 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698