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

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

Issue 6459009: Mac: Turn on tab overview mode by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | « no previous file | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // . SINGLE_VALUE: experiment is either on or off. Use the SINGLE_VALUE_TYPE 63 // . SINGLE_VALUE: experiment is either on or off. Use the SINGLE_VALUE_TYPE
64 // macro for this type supplying the command line to the macro. 64 // macro for this type supplying the command line to the macro.
65 // . MULTI_VALUE: if enabled the command line of the selected choice is enabled. 65 // . MULTI_VALUE: if enabled the command line of the selected choice is enabled.
66 // To specify this type of experiment use the macro MULTI_VALUE_TYPE supplying 66 // To specify this type of experiment use the macro MULTI_VALUE_TYPE supplying
67 // it the array of choices. 67 // it the array of choices.
68 // See the documentation of Experiment for details on the fields. 68 // See the documentation of Experiment for details on the fields.
69 // 69 //
70 // When adding a new choice, add it to the end of the list. 70 // When adding a new choice, add it to the end of the list.
71 const Experiment kExperiments[] = { 71 const Experiment kExperiments[] = {
72 { 72 {
73 "expose-for-tabs", // FLAGS:RECORD_UMA
74 IDS_FLAGS_TABPOSE_NAME,
Mark Mentovai 2011/02/09 01:23:17 Wanna kill these too?
75 IDS_FLAGS_TABPOSE_DESCRIPTION,
76 kOsMac,
77 #if defined(OS_MACOSX)
78 // The switch exists only on OS X.
79 SINGLE_VALUE_TYPE(switches::kEnableExposeForTabs)
80 #else
81 SINGLE_VALUE_TYPE("")
82 #endif
83 },
84 {
85 kMediaPlayerExperimentName, 73 kMediaPlayerExperimentName,
86 IDS_FLAGS_MEDIA_PLAYER_NAME, 74 IDS_FLAGS_MEDIA_PLAYER_NAME,
87 IDS_FLAGS_MEDIA_PLAYER_DESCRIPTION, 75 IDS_FLAGS_MEDIA_PLAYER_DESCRIPTION,
88 kOsCrOS, 76 kOsCrOS,
89 #if defined(OS_CHROMEOS) 77 #if defined(OS_CHROMEOS)
90 // The switch exists only on Chrome OS. 78 // The switch exists only on Chrome OS.
91 SINGLE_VALUE_TYPE(switches::kEnableMediaPlayer) 79 SINGLE_VALUE_TYPE(switches::kEnableMediaPlayer)
92 #else 80 #else
93 SINGLE_VALUE_TYPE("") 81 SINGLE_VALUE_TYPE("")
94 #endif 82 #endif
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 } 636 }
649 637
650 const Experiment* GetExperiments(size_t* count) { 638 const Experiment* GetExperiments(size_t* count) {
651 *count = num_experiments; 639 *count = num_experiments;
652 return experiments; 640 return experiments;
653 } 641 }
654 642
655 } // namespace testing 643 } // namespace testing
656 644
657 } // namespace about_flags 645 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698