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

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

Issue 749693005: Remove SearchButton. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no-origin-2
Patch Set: Merge to HEAD Created 5 years, 10 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') | 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 // This only has an effect if QUIC protocol is enabled. 315 // This only has an effect if QUIC protocol is enabled.
316 const char kDisableQuicPacing[] = "disable-quic-pacing"; 316 const char kDisableQuicPacing[] = "disable-quic-pacing";
317 317
318 // Disable use of Chromium's port selection for the ephemeral port via bind(). 318 // Disable use of Chromium's port selection for the ephemeral port via bind().
319 // This only has an effect if QUIC protocol is enabled. 319 // This only has an effect if QUIC protocol is enabled.
320 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; 320 const char kDisableQuicPortSelection[] = "disable-quic-port-selection";
321 321
322 // Prevents the save password bubble from being enabled. 322 // Prevents the save password bubble from being enabled.
323 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; 323 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble";
324 324
325 // Disables the "search button in omnibox" experiment.
326 const char kDisableSearchButtonInOmnibox[] =
327 "disable-search-button-in-omnibox";
328
329 // Disables using bubbles for session restore request. 325 // Disables using bubbles for session restore request.
330 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; 326 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble";
331 327
332 // Disables the suggestions service. 328 // Disables the suggestions service.
333 const char kDisableSuggestionsService[] = "disable-suggestions-service"; 329 const char kDisableSuggestionsService[] = "disable-suggestions-service";
334 330
335 // Disables the supervised user host blacklist. 331 // Disables the supervised user host blacklist.
336 const char kDisableSupervisedUserBlacklist[] = 332 const char kDisableSupervisedUserBlacklist[] =
337 "disable-supervised-user-blacklist"; 333 "disable-supervised-user-blacklist";
338 334
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 // Enables context-sensitive reader mode button in the toolbar. 525 // Enables context-sensitive reader mode button in the toolbar.
530 const char kEnableReaderModeToolbarIcon[] = 526 const char kEnableReaderModeToolbarIcon[] =
531 "enable-reader-mode-toolbar-icon"; 527 "enable-reader-mode-toolbar-icon";
532 528
533 // Enables save password prompt bubble. 529 // Enables save password prompt bubble.
534 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; 530 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
535 531
536 // Enables SDCH for https schemes. 532 // Enables SDCH for https schemes.
537 const char kEnableSdchOverHttps[] = "enable-sdch-over-https"; 533 const char kEnableSdchOverHttps[] = "enable-sdch-over-https";
538 534
539 // Controls which branch of the "search button in omnibox" experiment is
540 // enabled.
541 //
542 // We're using independent flags here (as opposed to a common flag with
543 // different values) to be able to enable/disable the entire experience
544 // associated with this feature server-side from the FieldTrial (the complete
545 // experience includes other flag changes as well). It is not currently possible
546 // to do that with "flag=value" flags.
547 const char kEnableSearchButtonInOmniboxAlways[] =
548 "enable-search-button-in-omnibox-always";
549 const char kEnableSearchButtonInOmniboxForStr[] =
550 "enable-search-button-in-omnibox-for-str";
551 const char kEnableSearchButtonInOmniboxForStrOrIip[] =
552 "enable-search-button-in-omnibox-for-str-or-iip";
553
554 // Enables using bubbles for session restore request instead of infobars. 535 // Enables using bubbles for session restore request instead of infobars.
555 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; 536 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble";
556 537
557 // Enables the deprecated window.showModalDialog API. This is slated for 538 // Enables the deprecated window.showModalDialog API. This is slated for
558 // removal. 539 // removal.
559 const char kEnableShowModalDialog[] = "enable-show-modal-dialog"; 540 const char kEnableShowModalDialog[] = "enable-show-modal-dialog";
560 541
561 // Enable or disable settings in a separate browser window per profile 542 // Enable or disable settings in a separate browser window per profile
562 // (see SettingsWindowEnabled() below). 543 // (see SettingsWindowEnabled() below).
563 const char kEnableSettingsWindow[] = "enable-settings-window"; 544 const char kEnableSettingsWindow[] = "enable-settings-window";
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 1372
1392 // ----------------------------------------------------------------------------- 1373 // -----------------------------------------------------------------------------
1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1374 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1394 // 1375 //
1395 // You were going to just dump your switches here, weren't you? Instead, please 1376 // You were going to just dump your switches here, weren't you? Instead, please
1396 // put them in alphabetical order above, or in order inside the appropriate 1377 // put them in alphabetical order above, or in order inside the appropriate
1397 // ifdef at the bottom. The order should match the header. 1378 // ifdef at the bottom. The order should match the header.
1398 // ----------------------------------------------------------------------------- 1379 // -----------------------------------------------------------------------------
1399 1380
1400 } // namespace switches 1381 } // 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