| 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. |
| 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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 } | 748 } |
| 742 | 749 |
| 743 const Experiment* GetExperiments(size_t* count) { | 750 const Experiment* GetExperiments(size_t* count) { |
| 744 *count = num_experiments; | 751 *count = num_experiments; |
| 745 return experiments; | 752 return experiments; |
| 746 } | 753 } |
| 747 | 754 |
| 748 } // namespace testing | 755 } // namespace testing |
| 749 | 756 |
| 750 } // namespace about_flags | 757 } // namespace about_flags |
| OLD | NEW |