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 kEnableFullscreenAppList[]; |
18 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; | 19 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; |
19 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; | 20 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; |
20 APP_LIST_EXPORT extern const char kEnableDriveSearchInChromeLauncher[]; | 21 APP_LIST_EXPORT extern const char kEnableDriveSearchInChromeLauncher[]; |
21 APP_LIST_EXPORT extern const char kDisableDriveSearchInChromeLauncher[]; | 22 APP_LIST_EXPORT extern const char kDisableDriveSearchInChromeLauncher[]; |
22 APP_LIST_EXPORT extern const char kResetAppListInstallState[]; | 23 APP_LIST_EXPORT extern const char kResetAppListInstallState[]; |
23 | 24 |
24 bool APP_LIST_EXPORT IsAppListSyncEnabled(); | 25 bool APP_LIST_EXPORT IsAppListSyncEnabled(); |
25 | 26 |
| 27 bool APP_LIST_EXPORT IsFullscreenAppListEnabled(); |
| 28 |
26 bool APP_LIST_EXPORT IsFolderUIEnabled(); | 29 bool APP_LIST_EXPORT IsFolderUIEnabled(); |
27 | 30 |
28 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); | 31 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); |
29 | 32 |
30 // Determines whether the app list should not be dismissed on focus loss. | 33 // Determines whether the app list should not be dismissed on focus loss. |
31 bool APP_LIST_EXPORT ShouldNotDismissOnBlur(); | 34 bool APP_LIST_EXPORT ShouldNotDismissOnBlur(); |
32 | 35 |
33 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); | 36 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); |
34 | 37 |
35 bool APP_LIST_EXPORT IsDriveSearchInChromeLauncherEnabled(); | 38 bool APP_LIST_EXPORT IsDriveSearchInChromeLauncherEnabled(); |
36 | 39 |
37 } // namespace switches | 40 } // namespace switches |
38 } // namespace app_list | 41 } // namespace app_list |
39 | 42 |
40 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ | 43 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ |
OLD | NEW |