OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1500 // visible on Win/Mac/CrOS but not on Linux GTK, which would be confusing. | 1500 // visible on Win/Mac/CrOS but not on Linux GTK, which would be confusing. |
1501 // TODO(mgiuca): Remove the #if when Aura is the default on Linux. | 1501 // TODO(mgiuca): Remove the #if when Aura is the default on Linux. |
1502 "enable-app-list", | 1502 "enable-app-list", |
1503 IDS_FLAGS_ENABLE_APP_LIST_NAME, | 1503 IDS_FLAGS_ENABLE_APP_LIST_NAME, |
1504 IDS_FLAGS_ENABLE_APP_LIST_DESCRIPTION, | 1504 IDS_FLAGS_ENABLE_APP_LIST_DESCRIPTION, |
1505 kOsLinux, | 1505 kOsLinux, |
1506 SINGLE_VALUE_TYPE(switches::kEnableAppList) | 1506 SINGLE_VALUE_TYPE(switches::kEnableAppList) |
1507 }, | 1507 }, |
1508 #endif | 1508 #endif |
1509 { | 1509 { |
| 1510 "enable-app-view", |
| 1511 IDS_FLAGS_ENABLE_APP_VIEW_NAME, |
| 1512 IDS_FLAGS_ENABLE_APP_VIEW_DESCRIPTION, |
| 1513 kOsAll, |
| 1514 SINGLE_VALUE_TYPE(switches::kEnableAppView) |
| 1515 }, |
| 1516 { |
1510 "disable-app-list-app-info", | 1517 "disable-app-list-app-info", |
1511 IDS_FLAGS_DISABLE_APP_INFO_IN_APP_LIST, | 1518 IDS_FLAGS_DISABLE_APP_INFO_IN_APP_LIST, |
1512 IDS_FLAGS_DISABLE_APP_INFO_IN_APP_LIST_DESCRIPTION, | 1519 IDS_FLAGS_DISABLE_APP_INFO_IN_APP_LIST_DESCRIPTION, |
1513 kOsLinux | kOsWin | kOsCrOS, | 1520 kOsLinux | kOsWin | kOsCrOS, |
1514 SINGLE_VALUE_TYPE(app_list::switches::kDisableAppInfo) | 1521 SINGLE_VALUE_TYPE(app_list::switches::kDisableAppInfo) |
1515 }, | 1522 }, |
1516 { | 1523 { |
1517 "disable-app-list-voice-search", | 1524 "disable-app-list-voice-search", |
1518 IDS_FLAGS_DISABLE_APP_LIST_VOICE_SEARCH, | 1525 IDS_FLAGS_DISABLE_APP_LIST_VOICE_SEARCH, |
1519 IDS_FLAGS_DISABLE_APP_LIST_VOICE_SEARCH_DESCRIPTION, | 1526 IDS_FLAGS_DISABLE_APP_LIST_VOICE_SEARCH_DESCRIPTION, |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2476 } | 2483 } |
2477 | 2484 |
2478 const Experiment* GetExperiments(size_t* count) { | 2485 const Experiment* GetExperiments(size_t* count) { |
2479 *count = num_experiments; | 2486 *count = num_experiments; |
2480 return experiments; | 2487 return experiments; |
2481 } | 2488 } |
2482 | 2489 |
2483 } // namespace testing | 2490 } // namespace testing |
2484 | 2491 |
2485 } // namespace about_flags | 2492 } // namespace about_flags |
OLD | NEW |