| 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 "ui/app_list/app_list_export.h" | 8 #include "ui/app_list/app_list_export.h" |
| 9 | 9 |
| 10 namespace app_list { | 10 namespace app_list { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 bool APP_LIST_EXPORT IsAppListSyncEnabled(); | 22 bool APP_LIST_EXPORT IsAppListSyncEnabled(); |
| 23 | 23 |
| 24 bool APP_LIST_EXPORT IsFolderUIEnabled(); | 24 bool APP_LIST_EXPORT IsFolderUIEnabled(); |
| 25 | 25 |
| 26 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); | 26 bool APP_LIST_EXPORT IsVoiceSearchEnabled(); |
| 27 | 27 |
| 28 bool APP_LIST_EXPORT IsAppInfoEnabled(); | 28 bool APP_LIST_EXPORT IsAppInfoEnabled(); |
| 29 | 29 |
| 30 bool APP_LIST_EXPORT IsExperimentalAppListEnabled(); | 30 bool APP_LIST_EXPORT IsExperimentalAppListEnabled(); |
| 31 | 31 |
| 32 // Determines whether either command-line switch was given for enabling the | |
| 33 // centered app list position. Do not use this when positioning the app list; | |
| 34 // instead use AppListViewDelegate::ShouldCenterWindow. It checks a superset of | |
| 35 // the conditions that trigger the position. | |
| 36 bool APP_LIST_EXPORT IsCenteredAppListEnabled(); | 32 bool APP_LIST_EXPORT IsCenteredAppListEnabled(); |
| 37 | 33 |
| 38 } // namespace switches | 34 } // namespace switches |
| 39 } // namespace app_list | 35 } // namespace app_list |
| 40 | 36 |
| 41 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ | 37 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ |
| OLD | NEW |