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[]; | |
22 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; | 21 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; |
23 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; | 22 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; |
24 APP_LIST_EXPORT extern const char kEnableDriveSearchInChromeLauncher[]; | 23 APP_LIST_EXPORT extern const char kEnableDriveSearchInChromeLauncher[]; |
25 APP_LIST_EXPORT extern const char kDisableDriveSearchInChromeLauncher[]; | 24 APP_LIST_EXPORT extern const char kDisableDriveSearchInChromeLauncher[]; |
26 APP_LIST_EXPORT extern const char kResetAppListInstallState[]; | 25 APP_LIST_EXPORT extern const char kResetAppListInstallState[]; |
27 | 26 |
28 bool APP_LIST_EXPORT IsAppListSyncEnabled(); | 27 bool APP_LIST_EXPORT IsAppListSyncEnabled(); |
29 | 28 |
30 bool APP_LIST_EXPORT IsFolderUIEnabled(); | 29 bool APP_LIST_EXPORT IsFolderUIEnabled(); |
31 | 30 |
32 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); | 31 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); |
33 | 32 |
34 // 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. |
35 bool APP_LIST_EXPORT ShouldNotDismissOnBlur(); | 34 bool APP_LIST_EXPORT ShouldNotDismissOnBlur(); |
36 | 35 |
37 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); | 36 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); |
38 | 37 |
39 bool APP_LIST_EXPORT IsDriveSearchInChromeLauncherEnabled(); | 38 bool APP_LIST_EXPORT IsDriveSearchInChromeLauncherEnabled(); |
40 | 39 |
41 std::string APP_LIST_EXPORT AnswerServerUrl(); | 40 std::string APP_LIST_EXPORT AnswerServerUrl(); |
42 | 41 |
43 bool APP_LIST_EXPORT IsAnswerCardEnabled(); | 42 bool APP_LIST_EXPORT IsAnswerCardEnabled(); |
44 | 43 |
45 bool APP_LIST_EXPORT IsFullscreenAppListEnabled(); | |
46 | |
47 } // namespace switches | 44 } // namespace switches |
48 } // namespace app_list | 45 } // namespace app_list |
49 | 46 |
50 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ | 47 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ |
OLD | NEW |