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

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: rebase, merge 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
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/app_controller_mac.h » ('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/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 2061 matching lines...) Expand 10 before | Expand all | Expand 10 after
2513 } 2501 }
2514 2502
2515 const Experiment* GetExperiments(size_t* count) { 2503 const Experiment* GetExperiments(size_t* count) {
2516 *count = num_experiments; 2504 *count = num_experiments;
2517 return experiments; 2505 return experiments;
2518 } 2506 }
2519 2507
2520 } // namespace testing 2508 } // namespace testing
2521 2509
2522 } // namespace about_flags 2510 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/app_controller_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698