| 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 kEnableLauncherSearchProviderApi[]; | 26 APP_LIST_EXPORT extern const char kEnableLauncherSearchProviderApi[]; |
| 27 APP_LIST_EXPORT extern const char kResetAppListInstallState[]; |
| 26 | 28 |
| 27 #if defined(OS_MACOSX) | 29 #if defined(OS_MACOSX) |
| 28 APP_LIST_EXPORT extern const char kEnableMacViewsAppList[]; | 30 APP_LIST_EXPORT extern const char kEnableMacViewsAppList[]; |
| 29 #endif | 31 #endif |
| 30 | 32 |
| 31 bool APP_LIST_EXPORT IsAppListSyncEnabled(); | 33 bool APP_LIST_EXPORT IsAppListSyncEnabled(); |
| 32 | 34 |
| 33 bool APP_LIST_EXPORT IsFolderUIEnabled(); | 35 bool APP_LIST_EXPORT IsFolderUIEnabled(); |
| 34 | 36 |
| 35 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); | 37 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 50 bool APP_LIST_EXPORT IsLauncherSearchProviderApiEnabled(); | 52 bool APP_LIST_EXPORT IsLauncherSearchProviderApiEnabled(); |
| 51 | 53 |
| 52 #if defined(OS_MACOSX) | 54 #if defined(OS_MACOSX) |
| 53 bool APP_LIST_EXPORT IsMacViewsAppListEnabled(); | 55 bool APP_LIST_EXPORT IsMacViewsAppListEnabled(); |
| 54 #endif | 56 #endif |
| 55 | 57 |
| 56 } // namespace switches | 58 } // namespace switches |
| 57 } // namespace app_list | 59 } // namespace app_list |
| 58 | 60 |
| 59 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ | 61 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ |
| OLD | NEW |