Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 238 #endif | 238 #endif |
| 239 }, | 239 }, |
| 240 { | 240 { |
| 241 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA | 241 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA |
| 242 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, | 242 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, |
| 243 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, | 243 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, |
| 244 kOsAll, | 244 kOsAll, |
| 245 SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen) | 245 SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen) |
| 246 }, | 246 }, |
| 247 { | 247 { |
| 248 "compact-navigation", | |
| 249 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION, | |
| 250 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION_DESCRIPTION, | |
| 251 kOsWin, // TODO(stevet): Add other platforms when ready. | |
|
sky
2011/05/03 18:38:32
Should this include chromeos?
SteveT
2011/05/06 18:48:43
Not yet. We've only implemented and tested the pro
| |
| 252 SINGLE_VALUE_TYPE(switches::kEnableCompactNavigation) | |
| 253 }, | |
| 254 { | |
| 248 "new-tab-page-4", | 255 "new-tab-page-4", |
| 249 IDS_FLAGS_NEW_TAB_PAGE_4_NAME, | 256 IDS_FLAGS_NEW_TAB_PAGE_4_NAME, |
| 250 IDS_FLAGS_NEW_TAB_PAGE_4_DESCRIPTION, | 257 IDS_FLAGS_NEW_TAB_PAGE_4_DESCRIPTION, |
| 251 kOsAll, | 258 kOsAll, |
| 252 SINGLE_VALUE_TYPE(switches::kNewTabPage4) | 259 SINGLE_VALUE_TYPE(switches::kNewTabPage4) |
| 253 }, | 260 }, |
| 254 { | 261 { |
| 255 "tab-groups-context-menu", | 262 "tab-groups-context-menu", |
| 256 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME, | 263 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME, |
| 257 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION, | 264 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION, |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 734 } | 741 } |
| 735 | 742 |
| 736 const Experiment* GetExperiments(size_t* count) { | 743 const Experiment* GetExperiments(size_t* count) { |
| 737 *count = num_experiments; | 744 *count = num_experiments; |
| 738 return experiments; | 745 return experiments; |
| 739 } | 746 } |
| 740 | 747 |
| 741 } // namespace testing | 748 } // namespace testing |
| 742 | 749 |
| 743 } // namespace about_flags | 750 } // namespace about_flags |
| OLD | NEW |