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

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

Issue 1186803003: Mac: Give packaged app windows their own window cycle list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Now testing without the private API 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
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 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 // Prevents Chrome from quitting when Chrome Apps are open. 1213 // Prevents Chrome from quitting when Chrome Apps are open.
1214 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests"; 1214 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests";
1215 1215
1216 // Shows a notification when quitting Chrome with hosted apps running. Default 1216 // Shows a notification when quitting Chrome with hosted apps running. Default
1217 // behavior is to also quit all hosted apps. 1217 // behavior is to also quit all hosted apps.
1218 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification"; 1218 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification";
1219 1219
1220 // Disable the toolkit-views App Info dialog for Mac. 1220 // Disable the toolkit-views App Info dialog for Mac.
1221 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; 1221 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac";
1222 1222
1223 // Disables custom Cmd+` window cycling for platform apps and hosted apps.
1224 const char kDisableAppWindowCycling[] = "disable-app-window-cycling";
1225
1223 // Disables app shim creation for hosted apps on Mac. 1226 // Disables app shim creation for hosted apps on Mac.
1224 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; 1227 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation";
1225 1228
1226 // Disables use of toolkit-views based native app windows. 1229 // Disables use of toolkit-views based native app windows.
1227 const char kDisableMacViewsNativeAppWindows[] = 1230 const char kDisableMacViewsNativeAppWindows[] =
1228 "disable-mac-views-native-app-windows"; 1231 "disable-mac-views-native-app-windows";
1229 1232
1230 // Forcibly disables Lion-style on newer OSes, to allow developers to test the 1233 // Forcibly disables Lion-style on newer OSes, to allow developers to test the
1231 // older, SnowLeopard-style fullscreen. 1234 // older, SnowLeopard-style fullscreen.
1232 const char kDisableSystemFullscreenForTesting[] = 1235 const char kDisableSystemFullscreenForTesting[] =
1233 "disable-system-fullscreen-for-testing"; 1236 "disable-system-fullscreen-for-testing";
1234 1237
1235 // Enable the toolkit-views App Info dialog for Mac. This is accessible from 1238 // Enable the toolkit-views App Info dialog for Mac. This is accessible from
1236 // chrome://apps and chrome://extensions and is already enabled on non-mac. 1239 // chrome://apps and chrome://extensions and is already enabled on non-mac.
1237 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; 1240 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac";
1238 1241
1242 // Enables custom Cmd+` window cycling for platform apps and hosted apps.
1243 const char kEnableAppWindowCycling[] = "enable-app-window-cycling";
1244
1239 // Enables use of toolkit-views based native app windows. 1245 // Enables use of toolkit-views based native app windows.
1240 const char kEnableMacViewsNativeAppWindows[] = 1246 const char kEnableMacViewsNativeAppWindows[] =
1241 "enable-mac-views-native-app-windows"; 1247 "enable-mac-views-native-app-windows";
1242 1248
1243 // Enables Translate experimental new UX which replaces the infobar. 1249 // Enables Translate experimental new UX which replaces the infobar.
1244 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; 1250 const char kEnableTranslateNewUX[] = "enable-translate-new-ux";
1245 1251
1246 // This is how the metrics client ID is passed from the browser process to its 1252 // This is how the metrics client ID is passed from the browser process to its
1247 // children. With Crashpad, the metrics client ID is distinct from the crash 1253 // children. With Crashpad, the metrics client ID is distinct from the crash
1248 // client ID. 1254 // client ID.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 1373
1368 // ----------------------------------------------------------------------------- 1374 // -----------------------------------------------------------------------------
1369 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1375 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1370 // 1376 //
1371 // You were going to just dump your switches here, weren't you? Instead, please 1377 // You were going to just dump your switches here, weren't you? Instead, please
1372 // put them in alphabetical order above, or in order inside the appropriate 1378 // put them in alphabetical order above, or in order inside the appropriate
1373 // ifdef at the bottom. The order should match the header. 1379 // ifdef at the bottom. The order should match the header.
1374 // ----------------------------------------------------------------------------- 1380 // -----------------------------------------------------------------------------
1375 1381
1376 } // namespace switches 1382 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698