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

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

Issue 287543002: Remove origin chip v1 and "hide on input" v2 behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 | Annotate | Revision Log
« 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 9
10 namespace switches { 10 namespace switches {
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 303
304 // Disables the menu on the NTP for accessing sessions from other devices. 304 // Disables the menu on the NTP for accessing sessions from other devices.
305 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; 305 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu";
306 306
307 // Disable auto-reload of error pages if offline. 307 // Disable auto-reload of error pages if offline.
308 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; 308 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload";
309 309
310 // Disable the origin chip. 310 // Disable the origin chip.
311 const char kDisableOriginChip[] = "disable-origin-chip"; 311 const char kDisableOriginChip[] = "disable-origin-chip";
312 312
313 // Disable the origin chip in the location bar.
314 const char kDisableOriginChipV2[] = "disable-origin-chip-v2";
315
316 // Disable the setting to prompt the user for their OS account password before 313 // Disable the setting to prompt the user for their OS account password before
317 // revealing plaintext passwords in the password manager. 314 // revealing plaintext passwords in the password manager.
318 const char kDisablePasswordManagerReauthentication[] = 315 const char kDisablePasswordManagerReauthentication[] =
319 "disable-password-manager-reauthentication"; 316 "disable-password-manager-reauthentication";
320 317
321 // Enables searching for people from the apps list search box. 318 // Enables searching for people from the apps list search box.
322 const char kDisablePeopleSearch[] = "disable-people-search"; 319 const char kDisablePeopleSearch[] = "disable-people-search";
323 320
324 // Disable pop-up blocking. 321 // Disable pop-up blocking.
325 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 322 const char kDisablePopupBlocking[] = "disable-popup-blocking";
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 const char kEnableNpnHttpOnly[] = "enable-npn-http"; 537 const char kEnableNpnHttpOnly[] = "enable-npn-http";
541 538
542 // Enable auto-reload of error pages if offline. 539 // Enable auto-reload of error pages if offline.
543 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; 540 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload";
544 541
545 // Enable/Disable offering a "Load stale copy" option to the user if offline. 542 // Enable/Disable offering a "Load stale copy" option to the user if offline.
546 const char kEnableOfflineLoadStaleCache[] = "enable-offline-load-stale-cache"; 543 const char kEnableOfflineLoadStaleCache[] = "enable-offline-load-stale-cache";
547 const char kDisableOfflineLoadStaleCache[] = 544 const char kDisableOfflineLoadStaleCache[] =
548 "disable-offline-load-stale-cache"; 545 "disable-offline-load-stale-cache";
549 546
550 // Controls which branch of the origin chip experiment is enabled. The first
551 // flag (enable-origin-chip) is equivalent to the third
552 // (enable-origin-chip-trailing-location-bar) and exists for backwards
553 // compatability with an earlier version of the experiment.
554 //
555 // We're using independent flags here (as opposed to a common flag with
556 // different values) to be able to enable/disable the entire experience
557 // associated with this feature server-side from the FieldTrial (the complete
558 // experience includes other flag changes as well). It is not currently possible
559 // to do that with "flag=value" flags.
560 const char kEnableOriginChip[] = "enable-origin-chip";
561 const char kEnableOriginChipLeadingLocationBar[] =
562 "enable-origin-chip-leading-location-bar";
563 const char kEnableOriginChipTrailingLocationBar[] =
564 "enable-origin-chip-trailing-location-bar";
565 const char kEnableOriginChipLeadingMenuButton[] =
566 "enable-origin-chip-leading-menu-button";
567
568 // Controls which branch of the origin chip in location bar experiment is 547 // Controls which branch of the origin chip in location bar experiment is
569 // enabled. 548 // enabled.
570 // 549 //
571 // We're using independent flags here (as opposed to a common flag with 550 // We're using independent flags here (as opposed to a common flag with
572 // different values) to be able to enable/disable the entire experience 551 // different values) to be able to enable/disable the entire experience
573 // associated with this feature server-side from the FieldTrial (the complete 552 // associated with this feature server-side from the FieldTrial (the complete
574 // experience includes other flag changes as well). It is not currently possible 553 // experience includes other flag changes as well). It is not currently possible
575 // to do that with "flag=value" flags. 554 // to do that with "flag=value" flags.
576 const char kEnableOriginChipV2[] = "enable-origin-chip-v2"; 555 const char kEnableOriginChipAlways[] = "enable-origin-chip-always";
577 const char kEnableOriginChipV2HideOnMouseRelease[] = 556 const char kEnableOriginChipOnSrp[] = "enable-origin-chip-on-srp";
578 "enable-origin-chip-v2-hide-on-mouse-release";
579 const char kEnableOriginChipV2HideOnUserInput[] =
580 "enable-origin-chip-v2-hide-on-user-input";
581 const char kEnableOriginChipV2OnSrp[] = "enable-origin-chip-v2-on-srp";
582 557
583 // Enables panels (always on-top docked pop-up windows). 558 // Enables panels (always on-top docked pop-up windows).
584 const char kEnablePanels[] = "enable-panels"; 559 const char kEnablePanels[] = "enable-panels";
585 560
586 // Enables showing unregistered printers in print preview 561 // Enables showing unregistered printers in print preview
587 const char kEnablePrintPreviewRegisterPromos[] = 562 const char kEnablePrintPreviewRegisterPromos[] =
588 "enable-print-preview-register-promos"; 563 "enable-print-preview-register-promos";
589 564
590 // Enable Privet storage. 565 // Enable Privet storage.
591 const char kEnablePrivetStorage[] = "enable-privet-storage"; 566 const char kEnablePrivetStorage[] = "enable-privet-storage";
592 567
593 // Enables tracking of tasks in profiler for viewing via about:profiler. 568 // Enables tracking of tasks in profiler for viewing via about:profiler.
594 // To predominantly disable tracking (profiling), use the command line switch: 569 // To predominantly disable tracking (profiling), use the command line switch:
595 // --enable-profiling=0 570 // --enable-profiling=0
596 // Some tracking will still take place at startup, but it will be turned off 571 // Some tracking will still take place at startup, but it will be turned off
597 // during chrome_browser_main. 572 // during chrome_browser_main.
598 const char kEnableProfiling[] = "enable-profiling"; 573 const char kEnableProfiling[] = "enable-profiling";
599 574
600 // Enables query in the omnibox. 575 // Enables query in the omnibox.
601 const char kEnableQueryExtraction[] = "enable-query-extraction"; 576 const char kEnableQueryExtraction[] = "enable-query-extraction";
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
1459 1434
1460 // ----------------------------------------------------------------------------- 1435 // -----------------------------------------------------------------------------
1461 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1436 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1462 // 1437 //
1463 // You were going to just dump your switches here, weren't you? Instead, please 1438 // You were going to just dump your switches here, weren't you? Instead, please
1464 // put them in alphabetical order above, or in order inside the appropriate 1439 // put them in alphabetical order above, or in order inside the appropriate
1465 // ifdef at the bottom. The order should match the header. 1440 // ifdef at the bottom. The order should match the header.
1466 // ----------------------------------------------------------------------------- 1441 // -----------------------------------------------------------------------------
1467 1442
1468 } // namespace switches 1443 } // 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