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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1523 // This is compiled out on non-Linux platforms because otherwise it would be | 1523 // This is compiled out on non-Linux platforms because otherwise it would be |
1524 // visible on Win/Mac/CrOS but not on Linux GTK, which would be confusing. | 1524 // visible on Win/Mac/CrOS but not on Linux GTK, which would be confusing. |
1525 // TODO(mgiuca): Remove the #if when Aura is the default on Linux. | 1525 // TODO(mgiuca): Remove the #if when Aura is the default on Linux. |
1526 "enable-app-list", | 1526 "enable-app-list", |
1527 IDS_FLAGS_ENABLE_APP_LIST_NAME, | 1527 IDS_FLAGS_ENABLE_APP_LIST_NAME, |
1528 IDS_FLAGS_ENABLE_APP_LIST_DESCRIPTION, | 1528 IDS_FLAGS_ENABLE_APP_LIST_DESCRIPTION, |
1529 kOsLinux, | 1529 kOsLinux, |
1530 SINGLE_VALUE_TYPE(switches::kEnableAppList) | 1530 SINGLE_VALUE_TYPE(switches::kEnableAppList) |
1531 }, | 1531 }, |
1532 #endif | 1532 #endif |
1533 #if defined(OS_CHROMEOS) | |
benwells
2014/04/02 03:59:58
Why guard this in #if, it is already guarded with
calamity
2014/04/02 04:23:17
Similar reason to --enable-app-list above. It woul
| |
1533 { | 1534 { |
1534 "disable-app-list-folder-ui", | 1535 "disable-app-list-folder-ui", |
1535 IDS_FLAGS_DISABLE_APP_LIST_FOLDER, | 1536 IDS_FLAGS_DISABLE_APP_LIST_FOLDER, |
1536 IDS_FLAGS_DISABLE_APP_LIST_FOLDER_DESCRIPTION, | 1537 IDS_FLAGS_DISABLE_APP_LIST_FOLDER_DESCRIPTION, |
1537 kOsWin | kOsLinux | kOsCrOS, | 1538 kOsCrOS, |
1538 SINGLE_VALUE_TYPE(app_list::switches::kDisableFolderUI) | 1539 SINGLE_VALUE_TYPE(app_list::switches::kDisableFolderUI) |
1539 }, | 1540 }, |
1541 #else | |
1542 { | |
1543 "enable-app-list-folder-ui", | |
1544 IDS_FLAGS_ENABLE_APP_LIST_FOLDER, | |
1545 IDS_FLAGS_ENABLE_APP_LIST_FOLDER_DESCRIPTION, | |
1546 kOsWin | kOsLinux, | |
1547 SINGLE_VALUE_TYPE(app_list::switches::kEnableFolderUI) | |
1548 }, | |
1549 #endif | |
1540 { | 1550 { |
1541 "disable-app-list-voice-search", | 1551 "disable-app-list-voice-search", |
1542 IDS_FLAGS_DISABLE_APP_LIST_VOICE_SEARCH, | 1552 IDS_FLAGS_DISABLE_APP_LIST_VOICE_SEARCH, |
1543 IDS_FLAGS_DISABLE_APP_LIST_VOICE_SEARCH_DESCRIPTION, | 1553 IDS_FLAGS_DISABLE_APP_LIST_VOICE_SEARCH_DESCRIPTION, |
1544 kOsCrOS, | 1554 kOsCrOS, |
1545 SINGLE_VALUE_TYPE(app_list::switches::kDisableVoiceSearch) | 1555 SINGLE_VALUE_TYPE(app_list::switches::kDisableVoiceSearch) |
1546 }, | 1556 }, |
1547 { | 1557 { |
1548 "enable-app-list-hotword-always-on", | 1558 "enable-app-list-hotword-always-on", |
1549 IDS_FLAGS_ENABLE_APP_LIST_HOTWORD_ALWAYS_ON, | 1559 IDS_FLAGS_ENABLE_APP_LIST_HOTWORD_ALWAYS_ON, |
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2364 } | 2374 } |
2365 | 2375 |
2366 const Experiment* GetExperiments(size_t* count) { | 2376 const Experiment* GetExperiments(size_t* count) { |
2367 *count = num_experiments; | 2377 *count = num_experiments; |
2368 return experiments; | 2378 return experiments; |
2369 } | 2379 } |
2370 | 2380 |
2371 } // namespace testing | 2381 } // namespace testing |
2372 | 2382 |
2373 } // namespace about_flags | 2383 } // namespace about_flags |
OLD | NEW |