| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 #endif | 242 #endif |
| 243 }, | 243 }, |
| 244 { | 244 { |
| 245 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA | 245 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA |
| 246 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, | 246 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, |
| 247 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, | 247 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, |
| 248 kOsAll, | 248 kOsAll, |
| 249 SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen) | 249 SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen) |
| 250 }, | 250 }, |
| 251 { | 251 { |
| 252 "compact-navigation", |
| 253 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION, |
| 254 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION_DESCRIPTION, |
| 255 kOsWin, // TODO(stevet): Add other platforms when ready. |
| 256 SINGLE_VALUE_TYPE(switches::kEnableCompactNavigation) |
| 257 }, |
| 258 { |
| 252 "new-tab-page-4", | 259 "new-tab-page-4", |
| 253 IDS_FLAGS_NEW_TAB_PAGE_4_NAME, | 260 IDS_FLAGS_NEW_TAB_PAGE_4_NAME, |
| 254 IDS_FLAGS_NEW_TAB_PAGE_4_DESCRIPTION, | 261 IDS_FLAGS_NEW_TAB_PAGE_4_DESCRIPTION, |
| 255 kOsAll, | 262 kOsAll, |
| 256 SINGLE_VALUE_TYPE(switches::kNewTabPage4) | 263 SINGLE_VALUE_TYPE(switches::kNewTabPage4) |
| 257 }, | 264 }, |
| 258 { | 265 { |
| 259 "tab-groups-context-menu", | 266 "tab-groups-context-menu", |
| 260 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME, | 267 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME, |
| 261 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION, | 268 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION, |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 } | 740 } |
| 734 | 741 |
| 735 const Experiment* GetExperiments(size_t* count) { | 742 const Experiment* GetExperiments(size_t* count) { |
| 736 *count = num_experiments; | 743 *count = num_experiments; |
| 737 return experiments; | 744 return experiments; |
| 738 } | 745 } |
| 739 | 746 |
| 740 } // namespace testing | 747 } // namespace testing |
| 741 | 748 |
| 742 } // namespace about_flags | 749 } // namespace about_flags |
| OLD | NEW |