| 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 kEnableAppList[]; | 17 APP_LIST_EXPORT extern const char kEnableAppList[]; |
| 18 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; | 18 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; |
| 19 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; | 19 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; |
| 20 APP_LIST_EXPORT extern const char kEnableDriveSearchInChromeLauncher[]; | 20 APP_LIST_EXPORT extern const char kEnableDriveSearchInChromeLauncher[]; |
| 21 APP_LIST_EXPORT extern const char kDisableDriveSearchInChromeLauncher[]; | 21 APP_LIST_EXPORT extern const char kDisableDriveSearchInChromeLauncher[]; |
| 22 APP_LIST_EXPORT extern const char kResetAppListInstallState[]; | 22 APP_LIST_EXPORT extern const char kResetAppListInstallState[]; |
| 23 | 23 |
| 24 bool APP_LIST_EXPORT IsAppListSyncEnabled(); | 24 bool APP_LIST_EXPORT IsAppListSyncEnabled(); |
| 25 | 25 |
| 26 bool APP_LIST_EXPORT IsFolderUIEnabled(); | 26 bool APP_LIST_EXPORT IsFolderUIEnabled(); |
| 27 | 27 |
| 28 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); | 28 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); |
| 29 | 29 |
| 30 // Deprecated. These always return true. | |
| 31 // TODO(mgiuca): Remove (https://crbug.com/531059). | |
| 32 bool APP_LIST_EXPORT IsExperimentalAppListEnabled(); | |
| 33 bool APP_LIST_EXPORT IsCenteredAppListEnabled(); | |
| 34 | |
| 35 // Determines whether the app list should not be dismissed on focus loss. | 30 // Determines whether the app list should not be dismissed on focus loss. |
| 36 bool APP_LIST_EXPORT ShouldNotDismissOnBlur(); | 31 bool APP_LIST_EXPORT ShouldNotDismissOnBlur(); |
| 37 | 32 |
| 38 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); | 33 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); |
| 39 | 34 |
| 40 bool APP_LIST_EXPORT IsDriveSearchInChromeLauncherEnabled(); | 35 bool APP_LIST_EXPORT IsDriveSearchInChromeLauncherEnabled(); |
| 41 | 36 |
| 42 } // namespace switches | 37 } // namespace switches |
| 43 } // namespace app_list | 38 } // namespace app_list |
| 44 | 39 |
| 45 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ | 40 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ |
| OLD | NEW |