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

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

Issue 660813002: [Win] Add a fast profile switcher to the Windows taskbar item. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: commas. commas are important Created 6 years, 1 month 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') | chrome/common/switch_utils.cc » ('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 {
11 11
12 // ----------------------------------------------------------------------------- 12 // -----------------------------------------------------------------------------
13 // Can't find the switch you are looking for? Try looking in: 13 // Can't find the switch you are looking for? Try looking in:
14 // ash/ash_switches.cc 14 // ash/ash_switches.cc
15 // base/base_switches.cc 15 // base/base_switches.cc
16 // chromeos/chromeos_switches.cc 16 // chromeos/chromeos_switches.cc
17 // etc. 17 // etc.
18 // 18 //
19 // When commenting your switch, please use the same voice as surrounding 19 // When commenting your switch, please use the same voice as surrounding
20 // comments. Imagine "This switch..." at the beginning of the phrase, and it'll 20 // comments. Imagine "This switch..." at the beginning of the phrase, and it'll
21 // all work out. 21 // all work out.
22 // ----------------------------------------------------------------------------- 22 // -----------------------------------------------------------------------------
23 23
24 // If set, Chrome will activate any existing browsers for a specific profile.
25 // Used for example by the fast-user switcher in the Windows JumpList.
26 const char kActivateExistingProfileBrowser[] =
27 "activate-existing-profile-browser";
28
24 // Allows third-party content included on a page to prompt for a HTTP basic 29 // Allows third-party content included on a page to prompt for a HTTP basic
25 // auth username/password pair. 30 // auth username/password pair.
26 const char kAllowCrossOriginAuthPrompt[] = "allow-cross-origin-auth-prompt"; 31 const char kAllowCrossOriginAuthPrompt[] = "allow-cross-origin-auth-prompt";
27 32
28 // On ChromeOS, file:// access is disabled except for certain whitelisted 33 // On ChromeOS, file:// access is disabled except for certain whitelisted
29 // directories. This switch re-enables file:// for testing. 34 // directories. This switch re-enables file:// for testing.
30 const char kAllowFileAccess[] = "allow-file-access"; 35 const char kAllowFileAccess[] = "allow-file-access";
31 36
32 // Allow non-secure origins to use the screen capture API and the desktopCapture 37 // Allow non-secure origins to use the screen capture API and the desktopCapture
33 // extension API. 38 // extension API.
(...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 // Specify the initial window position: --window-position=x,y 1229 // Specify the initial window position: --window-position=x,y
1225 const char kWindowPosition[] = "window-position"; 1230 const char kWindowPosition[] = "window-position";
1226 1231
1227 // Specify the initial window size: --window-size=w,h 1232 // Specify the initial window size: --window-size=w,h
1228 const char kWindowSize[] = "window-size"; 1233 const char kWindowSize[] = "window-size";
1229 1234
1230 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to 1235 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to
1231 // use Chromium's network stack to fetch, and V8 to evaluate. 1236 // use Chromium's network stack to fetch, and V8 to evaluate.
1232 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; 1237 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver";
1233 1238
1239 // Specifies which category option was clicked in the Windows Jumplist that
1240 // resulted in a browser startup.
1241 const char kWinJumplistAction[] = "win-jumplist-action";
1242
1234 #if defined(ENABLE_PLUGIN_INSTALLATION) 1243 #if defined(ENABLE_PLUGIN_INSTALLATION)
1235 // Specifies a custom URL for fetching plug-ins metadata. Used for testing. 1244 // Specifies a custom URL for fetching plug-ins metadata. Used for testing.
1236 const char kPluginsMetadataServerURL[] = "plugins-metadata-server-url"; 1245 const char kPluginsMetadataServerURL[] = "plugins-metadata-server-url";
1237 #endif 1246 #endif
1238 1247
1239 #if defined(OS_ANDROID) 1248 #if defined(OS_ANDROID)
1240 // Disables support for playing videos on Chromecast devices. 1249 // Disables support for playing videos on Chromecast devices.
1241 const char kDisableCast[] = "disable-cast"; 1250 const char kDisableCast[] = "disable-cast";
1242 1251
1243 // Disables Contextual Search. 1252 // Disables Contextual Search.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1373 1382
1374 // ----------------------------------------------------------------------------- 1383 // -----------------------------------------------------------------------------
1375 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1384 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1376 // 1385 //
1377 // You were going to just dump your switches here, weren't you? Instead, please 1386 // You were going to just dump your switches here, weren't you? Instead, please
1378 // put them in alphabetical order above, or in order inside the appropriate 1387 // put them in alphabetical order above, or in order inside the appropriate
1379 // ifdef at the bottom. The order should match the header. 1388 // ifdef at the bottom. The order should match the header.
1380 // ----------------------------------------------------------------------------- 1389 // -----------------------------------------------------------------------------
1381 1390
1382 } // namespace switches 1391 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/switch_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698