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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 IDS_FLAGS_MEMORY_WIDGET_NAME, | 333 IDS_FLAGS_MEMORY_WIDGET_NAME, |
334 IDS_FLAGS_MEMORY_WIDGET_DESCRIPTION, | 334 IDS_FLAGS_MEMORY_WIDGET_DESCRIPTION, |
335 kOsCrOS, | 335 kOsCrOS, |
336 #if defined(OS_CHROMEOS) | 336 #if defined(OS_CHROMEOS) |
337 // This switch exists only on Chrome OS. | 337 // This switch exists only on Chrome OS. |
338 SINGLE_VALUE_TYPE(switches::kMemoryWidget) | 338 SINGLE_VALUE_TYPE(switches::kMemoryWidget) |
339 #else | 339 #else |
340 SINGLE_VALUE_TYPE("") | 340 SINGLE_VALUE_TYPE("") |
341 #endif | 341 #endif |
342 }, | 342 }, |
343 #if defined(TOUCH_UI) | |
344 { | |
345 "touchui-views-desktop", | |
346 IDS_FLAGS_DISABLE_VIEWS_DESKTOP_NAME, | |
347 IDS_FLAGS_DISABLE_VIEWS_DESKTOP_DESCRIPTION, | |
348 kOsCrOS, | |
349 SINGLE_VALUE_TYPE_AND_VALUE(switches::kViewsDesktop, "disabled") | |
350 }, | |
351 #endif | |
352 { | 343 { |
353 "downloads-new-ui", // FLAGS:RECORD_UMA | 344 "downloads-new-ui", // FLAGS:RECORD_UMA |
354 IDS_FLAGS_DOWNLOADS_NEW_UI_NAME, | 345 IDS_FLAGS_DOWNLOADS_NEW_UI_NAME, |
355 IDS_FLAGS_DOWNLOADS_NEW_UI_DESCRIPTION, | 346 IDS_FLAGS_DOWNLOADS_NEW_UI_DESCRIPTION, |
356 kOsAll, | 347 kOsAll, |
357 SINGLE_VALUE_TYPE(switches::kDownloadsNewUI) | 348 SINGLE_VALUE_TYPE(switches::kDownloadsNewUI) |
358 }, | 349 }, |
359 { | 350 { |
360 "enable-autologin", | 351 "enable-autologin", |
361 IDS_FLAGS_ENABLE_AUTOLOGIN_NAME, | 352 IDS_FLAGS_ENABLE_AUTOLOGIN_NAME, |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 } | 854 } |
864 | 855 |
865 const Experiment* GetExperiments(size_t* count) { | 856 const Experiment* GetExperiments(size_t* count) { |
866 *count = num_experiments; | 857 *count = num_experiments; |
867 return experiments; | 858 return experiments; |
868 } | 859 } |
869 | 860 |
870 } // namespace testing | 861 } // namespace testing |
871 | 862 |
872 } // namespace about_flags | 863 } // namespace about_flags |
OLD | NEW |