| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) | 244 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) |
| 245 }, | 245 }, |
| 246 { | 246 { |
| 247 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA | 247 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA |
| 248 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, | 248 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, |
| 249 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, | 249 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, |
| 250 kOsAll, | 250 kOsAll, |
| 251 SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen) | 251 SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen) |
| 252 }, | 252 }, |
| 253 { | 253 { |
| 254 "compact-navigation", | |
| 255 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION, | |
| 256 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION_DESCRIPTION, | |
| 257 kOsWin, // TODO(stevet): Add other platforms when ready. | |
| 258 SINGLE_VALUE_TYPE(switches::kEnableCompactNavigation) | |
| 259 }, | |
| 260 { | |
| 261 "new-tab-page-4", | 254 "new-tab-page-4", |
| 262 IDS_FLAGS_NEW_TAB_PAGE_4_NAME, | 255 IDS_FLAGS_NEW_TAB_PAGE_4_NAME, |
| 263 IDS_FLAGS_NEW_TAB_PAGE_4_DESCRIPTION, | 256 IDS_FLAGS_NEW_TAB_PAGE_4_DESCRIPTION, |
| 264 kOsAll, | 257 kOsAll, |
| 265 SINGLE_VALUE_TYPE(switches::kNewTabPage4) | 258 SINGLE_VALUE_TYPE(switches::kNewTabPage4) |
| 266 }, | 259 }, |
| 267 { | 260 { |
| 268 "tab-groups-context-menu", | 261 "tab-groups-context-menu", |
| 269 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME, | 262 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME, |
| 270 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION, | 263 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION, |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 } | 791 } |
| 799 | 792 |
| 800 const Experiment* GetExperiments(size_t* count) { | 793 const Experiment* GetExperiments(size_t* count) { |
| 801 *count = num_experiments; | 794 *count = num_experiments; |
| 802 return experiments; | 795 return experiments; |
| 803 } | 796 } |
| 804 | 797 |
| 805 } // namespace testing | 798 } // namespace testing |
| 806 | 799 |
| 807 } // namespace about_flags | 800 } // namespace about_flags |
| OLD | NEW |