OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef UI_APP_LIST_APP_LIST_SWITCHES_H_ | 5 #ifndef UI_APP_LIST_APP_LIST_SWITCHES_H_ |
6 #define UI_APP_LIST_APP_LIST_SWITCHES_H_ | 6 #define UI_APP_LIST_APP_LIST_SWITCHES_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "ui/app_list/app_list_export.h" | 9 #include "ui/app_list/app_list_export.h" |
10 | 10 |
11 namespace app_list { | 11 namespace app_list { |
12 namespace switches { | 12 namespace switches { |
13 | 13 |
14 // Please keep these flags sorted (but keep enable/disable pairs together). | 14 // Please keep these flags sorted (but keep enable/disable pairs together). |
15 APP_LIST_EXPORT extern const char kCustomLauncherPage[]; | 15 APP_LIST_EXPORT extern const char kCustomLauncherPage[]; |
16 APP_LIST_EXPORT extern const char kDisableAppListDismissOnBlur[]; | 16 APP_LIST_EXPORT extern const char kDisableAppListDismissOnBlur[]; |
17 APP_LIST_EXPORT extern const char kDisableDriveAppsInAppList[]; | 17 APP_LIST_EXPORT extern const char kDisableDriveAppsInAppList[]; |
| 18 APP_LIST_EXPORT extern const char kEnableAppList[]; |
18 APP_LIST_EXPORT extern const char kEnableCenteredAppList[]; | 19 APP_LIST_EXPORT extern const char kEnableCenteredAppList[]; |
19 APP_LIST_EXPORT extern const char kEnableExperimentalAppList[]; | 20 APP_LIST_EXPORT extern const char kEnableExperimentalAppList[]; |
20 APP_LIST_EXPORT extern const char kDisableExperimentalAppList[]; | 21 APP_LIST_EXPORT extern const char kDisableExperimentalAppList[]; |
21 APP_LIST_EXPORT extern const char kEnableNewAppListMixer[]; | 22 APP_LIST_EXPORT extern const char kEnableNewAppListMixer[]; |
22 APP_LIST_EXPORT extern const char kDisableNewAppListMixer[]; | 23 APP_LIST_EXPORT extern const char kDisableNewAppListMixer[]; |
23 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; | 24 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; |
24 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; | 25 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; |
25 APP_LIST_EXPORT extern const char kDisableDriveSearchInAppLauncher[]; | 26 APP_LIST_EXPORT extern const char kDisableDriveSearchInAppLauncher[]; |
26 APP_LIST_EXPORT extern const char kDisableLauncherSearchProviderApi[]; | 27 APP_LIST_EXPORT extern const char kDisableLauncherSearchProviderApi[]; |
| 28 APP_LIST_EXPORT extern const char kResetAppListInstallState[]; |
27 | 29 |
28 #if defined(OS_MACOSX) | 30 #if defined(OS_MACOSX) |
29 APP_LIST_EXPORT extern const char kEnableMacViewsAppList[]; | 31 APP_LIST_EXPORT extern const char kEnableMacViewsAppList[]; |
30 #endif | 32 #endif |
31 | 33 |
32 bool APP_LIST_EXPORT IsAppListSyncEnabled(); | 34 bool APP_LIST_EXPORT IsAppListSyncEnabled(); |
33 | 35 |
34 bool APP_LIST_EXPORT IsFolderUIEnabled(); | 36 bool APP_LIST_EXPORT IsFolderUIEnabled(); |
35 | 37 |
36 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); | 38 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); |
(...skipping 16 matching lines...) Expand all Loading... |
53 bool APP_LIST_EXPORT IsLauncherSearchProviderApiEnabled(); | 55 bool APP_LIST_EXPORT IsLauncherSearchProviderApiEnabled(); |
54 | 56 |
55 #if defined(OS_MACOSX) | 57 #if defined(OS_MACOSX) |
56 bool APP_LIST_EXPORT IsMacViewsAppListEnabled(); | 58 bool APP_LIST_EXPORT IsMacViewsAppListEnabled(); |
57 #endif | 59 #endif |
58 | 60 |
59 } // namespace switches | 61 } // namespace switches |
60 } // namespace app_list | 62 } // namespace app_list |
61 | 63 |
62 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ | 64 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ |
OLD | NEW |