| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 #include "ui/app_list/app_list_export.h" | 11 #include "ui/app_list/app_list_export.h" |
| 12 | 12 |
| 13 namespace app_list { | 13 namespace app_list { |
| 14 namespace switches { | 14 namespace switches { |
| 15 | 15 |
| 16 // Please keep these flags sorted (but keep enable/disable pairs together). | 16 // Please keep these flags sorted (but keep enable/disable pairs together). |
| 17 APP_LIST_EXPORT extern const char kAnswerServerUrl[]; | 17 APP_LIST_EXPORT extern const char kAnswerServerUrl[]; |
| 18 APP_LIST_EXPORT extern const char kCustomLauncherPage[]; | 18 APP_LIST_EXPORT extern const char kCustomLauncherPage[]; |
| 19 APP_LIST_EXPORT extern const char kDisableAppListDismissOnBlur[]; | 19 APP_LIST_EXPORT extern const char kDisableAppListDismissOnBlur[]; |
| 20 APP_LIST_EXPORT extern const char kEnableAppList[]; | 20 APP_LIST_EXPORT extern const char kEnableAppList[]; |
| 21 APP_LIST_EXPORT extern const char kEnableFullscreenAppList[]; |
| 21 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; | 22 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; |
| 22 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; | 23 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; |
| 23 APP_LIST_EXPORT extern const char kEnableDriveSearchInChromeLauncher[]; | 24 APP_LIST_EXPORT extern const char kEnableDriveSearchInChromeLauncher[]; |
| 24 APP_LIST_EXPORT extern const char kDisableDriveSearchInChromeLauncher[]; | 25 APP_LIST_EXPORT extern const char kDisableDriveSearchInChromeLauncher[]; |
| 25 APP_LIST_EXPORT extern const char kResetAppListInstallState[]; | 26 APP_LIST_EXPORT extern const char kResetAppListInstallState[]; |
| 26 | 27 |
| 27 bool APP_LIST_EXPORT IsAppListSyncEnabled(); | 28 bool APP_LIST_EXPORT IsAppListSyncEnabled(); |
| 28 | 29 |
| 29 bool APP_LIST_EXPORT IsFolderUIEnabled(); | 30 bool APP_LIST_EXPORT IsFolderUIEnabled(); |
| 30 | 31 |
| 31 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); | 32 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); |
| 32 | 33 |
| 33 // Determines whether the app list should not be dismissed on focus loss. | 34 // Determines whether the app list should not be dismissed on focus loss. |
| 34 bool APP_LIST_EXPORT ShouldNotDismissOnBlur(); | 35 bool APP_LIST_EXPORT ShouldNotDismissOnBlur(); |
| 35 | 36 |
| 36 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); | 37 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); |
| 37 | 38 |
| 38 bool APP_LIST_EXPORT IsDriveSearchInChromeLauncherEnabled(); | 39 bool APP_LIST_EXPORT IsDriveSearchInChromeLauncherEnabled(); |
| 39 | 40 |
| 40 std::string APP_LIST_EXPORT AnswerServerUrl(); | 41 std::string APP_LIST_EXPORT AnswerServerUrl(); |
| 41 | 42 |
| 42 bool APP_LIST_EXPORT IsAnswerCardEnabled(); | 43 bool APP_LIST_EXPORT IsAnswerCardEnabled(); |
| 43 | 44 |
| 45 bool APP_LIST_EXPORT IsFullscreenAppListEnabled(); |
| 46 |
| 44 } // namespace switches | 47 } // namespace switches |
| 45 } // namespace app_list | 48 } // namespace app_list |
| 46 | 49 |
| 47 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ | 50 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ |
| OLD | NEW |