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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 154083008: Remove Tabpose feature on mac, and supporting infrastructure (PaintAtSize) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try again Created 6 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 | 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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 // macro for this type supplying the command line to the macro. 420 // macro for this type supplying the command line to the macro.
421 // . MULTI_VALUE: a list of choices, the first of which should correspond to a 421 // . MULTI_VALUE: a list of choices, the first of which should correspond to a
422 // deactivated state for this lab (i.e. no command line option). To specify 422 // deactivated state for this lab (i.e. no command line option). To specify
423 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the 423 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the
424 // array of choices. 424 // array of choices.
425 // See the documentation of Experiment for details on the fields. 425 // See the documentation of Experiment for details on the fields.
426 // 426 //
427 // When adding a new choice, add it to the end of the list. 427 // When adding a new choice, add it to the end of the list.
428 const Experiment kExperiments[] = { 428 const Experiment kExperiments[] = {
429 { 429 {
430 "expose-for-tabs", // FLAGS:RECORD_UMA
431 IDS_FLAGS_TABPOSE_NAME,
432 IDS_FLAGS_TABPOSE_DESCRIPTION,
433 kOsMac,
434 #if defined(OS_MACOSX)
435 // The switch exists only on OS X.
436 SINGLE_VALUE_TYPE(switches::kEnableExposeForTabs)
437 #else
438 SINGLE_VALUE_TYPE("")
439 #endif
440 },
441 {
442 "conflicting-modules-check", // FLAGS:RECORD_UMA 430 "conflicting-modules-check", // FLAGS:RECORD_UMA
443 IDS_FLAGS_CONFLICTS_CHECK_NAME, 431 IDS_FLAGS_CONFLICTS_CHECK_NAME,
444 IDS_FLAGS_CONFLICTS_CHECK_DESCRIPTION, 432 IDS_FLAGS_CONFLICTS_CHECK_DESCRIPTION,
445 kOsWin, 433 kOsWin,
446 SINGLE_VALUE_TYPE(switches::kConflictingModulesCheck) 434 SINGLE_VALUE_TYPE(switches::kConflictingModulesCheck)
447 }, 435 },
448 { 436 {
449 "ignore-gpu-blacklist", 437 "ignore-gpu-blacklist",
450 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME, 438 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME,
451 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION, 439 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION,
(...skipping 2077 matching lines...) Expand 10 before | Expand all | Expand 10 after
2529 } 2517 }
2530 2518
2531 const Experiment* GetExperiments(size_t* count) { 2519 const Experiment* GetExperiments(size_t* count) {
2532 *count = num_experiments; 2520 *count = num_experiments;
2533 return experiments; 2521 return experiments;
2534 } 2522 }
2535 2523
2536 } // namespace testing 2524 } // namespace testing
2537 2525
2538 } // namespace about_flags 2526 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698