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

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

Issue 6708033: Revert 74236 - Mac: Turn on tab overview mode by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/generated_resources.grd ('k') | chrome/browser/app_controller_mac.mm » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // macro for this type supplying the command line to the macro. 74 // macro for this type supplying the command line to the macro.
75 // . MULTI_VALUE: a list of choices, the first of which should correspond to a 75 // . MULTI_VALUE: a list of choices, the first of which should correspond to a
76 // deactivated state for this lab (i.e. no command line option). To specify 76 // deactivated state for this lab (i.e. no command line option). To specify
77 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the 77 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the
78 // array of choices. 78 // array of choices.
79 // See the documentation of Experiment for details on the fields. 79 // See the documentation of Experiment for details on the fields.
80 // 80 //
81 // When adding a new choice, add it to the end of the list. 81 // When adding a new choice, add it to the end of the list.
82 const Experiment kExperiments[] = { 82 const Experiment kExperiments[] = {
83 { 83 {
84 "expose-for-tabs", // FLAGS:RECORD_UMA
85 IDS_FLAGS_TABPOSE_NAME,
86 IDS_FLAGS_TABPOSE_DESCRIPTION,
87 kOsMac,
88 #if defined(OS_MACOSX)
89 // The switch exists only on OS X.
90 SINGLE_VALUE_TYPE(switches::kEnableExposeForTabs)
91 #else
92 SINGLE_VALUE_TYPE("")
93 #endif
94 },
95 {
84 kMediaPlayerExperimentName, 96 kMediaPlayerExperimentName,
85 IDS_FLAGS_MEDIA_PLAYER_NAME, 97 IDS_FLAGS_MEDIA_PLAYER_NAME,
86 IDS_FLAGS_MEDIA_PLAYER_DESCRIPTION, 98 IDS_FLAGS_MEDIA_PLAYER_DESCRIPTION,
87 kOsCrOS, 99 kOsCrOS,
88 #if defined(OS_CHROMEOS) 100 #if defined(OS_CHROMEOS)
89 // The switch exists only on Chrome OS. 101 // The switch exists only on Chrome OS.
90 SINGLE_VALUE_TYPE(switches::kEnableMediaPlayer) 102 SINGLE_VALUE_TYPE(switches::kEnableMediaPlayer)
91 #else 103 #else
92 SINGLE_VALUE_TYPE("") 104 SINGLE_VALUE_TYPE("")
93 #endif 105 #endif
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 } 712 }
701 713
702 const Experiment* GetExperiments(size_t* count) { 714 const Experiment* GetExperiments(size_t* count) {
703 *count = num_experiments; 715 *count = num_experiments;
704 return experiments; 716 return experiments;
705 } 717 }
706 718
707 } // namespace testing 719 } // namespace testing
708 720
709 } // namespace about_flags 721 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698