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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 IDS_FLAGS_SYNC_TABS_NAME, | 287 IDS_FLAGS_SYNC_TABS_NAME, |
288 IDS_FLAGS_SYNC_TABS_DESCRIPTION, | 288 IDS_FLAGS_SYNC_TABS_DESCRIPTION, |
289 kOsAll, | 289 kOsAll, |
290 SINGLE_VALUE_TYPE(switches::kEnableSyncTabs) | 290 SINGLE_VALUE_TYPE(switches::kEnableSyncTabs) |
291 }, | 291 }, |
292 { | 292 { |
293 "sync-app-notifications", | 293 "sync-app-notifications", |
294 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_NAME, | 294 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_NAME, |
295 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_DESCRIPTION, | 295 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_DESCRIPTION, |
296 kOsAll, | 296 kOsAll, |
297 SINGLE_VALUE_TYPE(switches::kEnableSyncAppNotifications) | 297 SINGLE_VALUE_TYPE(switches::kDisableSyncAppNotifications) |
298 }, | 298 }, |
299 { | 299 { |
300 "enable-smooth-scrolling", // FLAGS:RECORD_UMA | 300 "enable-smooth-scrolling", // FLAGS:RECORD_UMA |
301 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, | 301 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, |
302 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, | 302 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, |
303 // Can't expose the switch unless the code is compiled in. | 303 // Can't expose the switch unless the code is compiled in. |
304 // On by default for the Mac (different implementation in WebKit). | 304 // On by default for the Mac (different implementation in WebKit). |
305 kOsWin | kOsLinux | kOsCrOS, | 305 kOsWin | kOsLinux | kOsCrOS, |
306 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) | 306 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) |
307 }, | 307 }, |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 } | 863 } |
864 | 864 |
865 const Experiment* GetExperiments(size_t* count) { | 865 const Experiment* GetExperiments(size_t* count) { |
866 *count = num_experiments; | 866 *count = num_experiments; |
867 return experiments; | 867 return experiments; |
868 } | 868 } |
869 | 869 |
870 } // namespace testing | 870 } // namespace testing |
871 | 871 |
872 } // namespace about_flags | 872 } // namespace about_flags |
OLD | NEW |