| 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 "ui/app_list/app_list_export.h" | 8 #include "ui/app_list/app_list_export.h" |
| 9 | 9 |
| 10 namespace app_list { | 10 namespace app_list { |
| 11 namespace switches { | 11 namespace switches { |
| 12 | 12 |
| 13 // Please keep these flags sorted. | 13 // Please keep these flags sorted. |
| 14 APP_LIST_EXPORT extern const char kDisableFolderUI[]; | 14 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; |
| 15 APP_LIST_EXPORT extern const char kDisableVoiceSearch[]; | 15 APP_LIST_EXPORT extern const char kDisableVoiceSearch[]; |
| 16 APP_LIST_EXPORT extern const char kEnableAppInfo[]; | 16 APP_LIST_EXPORT extern const char kEnableAppInfo[]; |
| 17 APP_LIST_EXPORT extern const char kEnableExperimentalAppList[]; | 17 APP_LIST_EXPORT extern const char kEnableExperimentalAppList[]; |
| 18 APP_LIST_EXPORT extern const char kEnableExperimentalAppListPosition[]; | 18 APP_LIST_EXPORT extern const char kEnableExperimentalAppListPosition[]; |
| 19 APP_LIST_EXPORT extern const char kEnableHotwordAlwaysOn[]; | 19 APP_LIST_EXPORT extern const char kEnableHotwordAlwaysOn[]; |
| 20 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; |
| 21 |
| 22 bool APP_LIST_EXPORT IsAppListSyncEnabled(); |
| 20 | 23 |
| 21 bool APP_LIST_EXPORT IsFolderUIEnabled(); | 24 bool APP_LIST_EXPORT IsFolderUIEnabled(); |
| 22 | 25 |
| 23 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); | 26 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); |
| 24 | 27 |
| 25 bool APP_LIST_EXPORT IsHotwordAlwaysOnEnabled(); | 28 bool APP_LIST_EXPORT IsHotwordAlwaysOnEnabled(); |
| 26 | 29 |
| 27 bool APP_LIST_EXPORT IsAppInfoEnabled(); | 30 bool APP_LIST_EXPORT IsAppInfoEnabled(); |
| 28 | 31 |
| 29 bool APP_LIST_EXPORT IsExperimentalAppListEnabled(); | 32 bool APP_LIST_EXPORT IsExperimentalAppListEnabled(); |
| 30 | 33 |
| 31 bool APP_LIST_EXPORT IsExperimentalAppListPositionEnabled(); | 34 bool APP_LIST_EXPORT IsExperimentalAppListPositionEnabled(); |
| 32 | 35 |
| 33 } // namespace switches | 36 } // namespace switches |
| 34 } // namespace app_list | 37 } // namespace app_list |
| 35 | 38 |
| 36 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ | 39 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ |
| OLD | NEW |