| 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 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #if defined(OS_MACOSX) | 24 #if defined(OS_MACOSX) |
| 25 APP_LIST_EXPORT extern const char kEnableMacViewsAppList[]; | 25 APP_LIST_EXPORT extern const char kEnableMacViewsAppList[]; |
| 26 #endif | 26 #endif |
| 27 | 27 |
| 28 bool APP_LIST_EXPORT IsAppListSyncEnabled(); | 28 bool APP_LIST_EXPORT IsAppListSyncEnabled(); |
| 29 | 29 |
| 30 bool APP_LIST_EXPORT IsFolderUIEnabled(); | 30 bool APP_LIST_EXPORT IsFolderUIEnabled(); |
| 31 | 31 |
| 32 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); | 32 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); |
| 33 | 33 |
| 34 bool APP_LIST_EXPORT IsAppInfoEnabled(); | |
| 35 | |
| 36 bool APP_LIST_EXPORT IsExperimentalAppListEnabled(); | 34 bool APP_LIST_EXPORT IsExperimentalAppListEnabled(); |
| 37 | 35 |
| 38 // Determines whether either command-line switch was given for enabling the | 36 // Determines whether either command-line switch was given for enabling the |
| 39 // centered app list position. Do not use this when positioning the app list; | 37 // centered app list position. Do not use this when positioning the app list; |
| 40 // instead use AppListViewDelegate::ShouldCenterWindow. It checks a superset of | 38 // instead use AppListViewDelegate::ShouldCenterWindow. It checks a superset of |
| 41 // the conditions that trigger the position. | 39 // the conditions that trigger the position. |
| 42 bool APP_LIST_EXPORT IsCenteredAppListEnabled(); | 40 bool APP_LIST_EXPORT IsCenteredAppListEnabled(); |
| 43 | 41 |
| 44 // Determines whether the app list should not be dismissed on focus loss. | 42 // Determines whether the app list should not be dismissed on focus loss. |
| 45 bool APP_LIST_EXPORT ShouldNotDismissOnBlur(); | 43 bool APP_LIST_EXPORT ShouldNotDismissOnBlur(); |
| 46 | 44 |
| 47 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); | 45 bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled(); |
| 48 | 46 |
| 49 #if defined(OS_MACOSX) | 47 #if defined(OS_MACOSX) |
| 50 bool APP_LIST_EXPORT IsMacViewsAppListListEnabled(); | 48 bool APP_LIST_EXPORT IsMacViewsAppListListEnabled(); |
| 51 #endif | 49 #endif |
| 52 | 50 |
| 53 } // namespace switches | 51 } // namespace switches |
| 54 } // namespace app_list | 52 } // namespace app_list |
| 55 | 53 |
| 56 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ | 54 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ |
| OLD | NEW |