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

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: Fix test compile 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
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";
Justin Donnelly 2014/05/13 22:19:33 It'd be better for opt-in/opt-out groups in the ru
Peter Kasting 2014/05/14 00:28:11 Take a look at my aforementioned internal CL to ch
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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 const char kEnableNpnHttpOnly[] = "enable-npn-http"; 538 const char kEnableNpnHttpOnly[] = "enable-npn-http";
542 539
543 // Enable auto-reload of error pages if offline. 540 // Enable auto-reload of error pages if offline.
544 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; 541 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload";
545 542
546 // Enable/Disable offering a "Load stale copy" option to the user if offline. 543 // Enable/Disable offering a "Load stale copy" option to the user if offline.
547 const char kEnableOfflineLoadStaleCache[] = "enable-offline-load-stale-cache"; 544 const char kEnableOfflineLoadStaleCache[] = "enable-offline-load-stale-cache";
548 const char kDisableOfflineLoadStaleCache[] = 545 const char kDisableOfflineLoadStaleCache[] =
549 "disable-offline-load-stale-cache"; 546 "disable-offline-load-stale-cache";
550 547
551 // Controls which branch of the origin chip experiment is enabled. The first
552 // flag (enable-origin-chip) is equivalent to the third
553 // (enable-origin-chip-trailing-location-bar) and exists for backwards
554 // compatability with an earlier version of the experiment.
555 //
556 // We're using independent flags here (as opposed to a common flag with
557 // different values) to be able to enable/disable the entire experience
558 // associated with this feature server-side from the FieldTrial (the complete
559 // experience includes other flag changes as well). It is not currently possible
560 // to do that with "flag=value" flags.
561 const char kEnableOriginChip[] = "enable-origin-chip";
562 const char kEnableOriginChipLeadingLocationBar[] =
563 "enable-origin-chip-leading-location-bar";
564 const char kEnableOriginChipTrailingLocationBar[] =
565 "enable-origin-chip-trailing-location-bar";
566 const char kEnableOriginChipLeadingMenuButton[] =
567 "enable-origin-chip-leading-menu-button";
568
569 // Controls which branch of the origin chip in location bar experiment is 548 // Controls which branch of the origin chip in location bar experiment is
570 // enabled. 549 // enabled.
571 // 550 //
572 // We're using independent flags here (as opposed to a common flag with 551 // We're using independent flags here (as opposed to a common flag with
573 // different values) to be able to enable/disable the entire experience 552 // different values) to be able to enable/disable the entire experience
574 // associated with this feature server-side from the FieldTrial (the complete 553 // associated with this feature server-side from the FieldTrial (the complete
575 // experience includes other flag changes as well). It is not currently possible 554 // experience includes other flag changes as well). It is not currently possible
576 // to do that with "flag=value" flags. 555 // to do that with "flag=value" flags.
577 const char kEnableOriginChipV2[] = "enable-origin-chip-v2"; 556 const char kEnableOriginChip[] = "enable-origin-chip";
578 const char kEnableOriginChipV2HideOnMouseRelease[] = 557 const char kEnableOriginChipOnSrp[] = "enable-origin-chip-on-srp";
579 "enable-origin-chip-v2-hide-on-mouse-release";
580 const char kEnableOriginChipV2HideOnUserInput[] =
581 "enable-origin-chip-v2-hide-on-user-input";
582 const char kEnableOriginChipV2OnSrp[] = "enable-origin-chip-v2-on-srp";
583 558
584 // Enables panels (always on-top docked pop-up windows). 559 // Enables panels (always on-top docked pop-up windows).
585 const char kEnablePanels[] = "enable-panels"; 560 const char kEnablePanels[] = "enable-panels";
586 561
587 // Enables showing unregistered printers in print preview 562 // Enables showing unregistered printers in print preview
588 const char kEnablePrintPreviewRegisterPromos[] = 563 const char kEnablePrintPreviewRegisterPromos[] =
589 "enable-print-preview-register-promos"; 564 "enable-print-preview-register-promos";
590 565
591 // Enable Privet storage. 566 // Enable Privet storage.
592 const char kEnablePrivetStorage[] = "enable-privet-storage"; 567 const char kEnablePrivetStorage[] = "enable-privet-storage";
593 568
594 // Enables tracking of tasks in profiler for viewing via about:profiler. 569 // Enables tracking of tasks in profiler for viewing via about:profiler.
595 // To predominantly disable tracking (profiling), use the command line switch: 570 // To predominantly disable tracking (profiling), use the command line switch:
596 // --enable-profiling=0 571 // --enable-profiling=0
597 // Some tracking will still take place at startup, but it will be turned off 572 // Some tracking will still take place at startup, but it will be turned off
598 // during chrome_browser_main. 573 // during chrome_browser_main.
599 const char kEnableProfiling[] = "enable-profiling"; 574 const char kEnableProfiling[] = "enable-profiling";
600 575
601 // Enables query in the omnibox. 576 // Enables query in the omnibox.
602 const char kEnableQueryExtraction[] = "enable-query-extraction"; 577 const char kEnableQueryExtraction[] = "enable-query-extraction";
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 1449
1475 // ----------------------------------------------------------------------------- 1450 // -----------------------------------------------------------------------------
1476 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1451 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1477 // 1452 //
1478 // You were going to just dump your switches here, weren't you? Instead, please 1453 // You were going to just dump your switches here, weren't you? Instead, please
1479 // put them in alphabetical order above, or in order inside the appropriate 1454 // put them in alphabetical order above, or in order inside the appropriate
1480 // ifdef at the bottom. The order should match the header. 1455 // ifdef at the bottom. The order should match the header.
1481 // ----------------------------------------------------------------------------- 1456 // -----------------------------------------------------------------------------
1482 1457
1483 } // namespace switches 1458 } // namespace switches
OLDNEW
« chrome/browser/ui/views/location_bar/location_icon_view.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698