Index: ui/app_list/app_list_switches.h |
diff --git a/ui/app_list/app_list_switches.h b/ui/app_list/app_list_switches.h |
index dc99e7d808072f87966e5e7e7ae68383502aec0a..d422e6720c4b709ea02012b25de04cbc141dae1c 100644 |
--- a/ui/app_list/app_list_switches.h |
+++ b/ui/app_list/app_list_switches.h |
@@ -29,6 +29,10 @@ bool APP_LIST_EXPORT IsAppInfoEnabled(); |
bool APP_LIST_EXPORT IsExperimentalAppListEnabled(); |
+// Determines whether either command-line switch was given for enabling the |
+// centered app list position. Do not use this when positioning the app list; |
+// instead use AppListViewDelegate::ShouldCenterWindow. It checks a superset of |
+// the conditions that trigger the position. |
bool APP_LIST_EXPORT IsCenteredAppListEnabled(); |
} // namespace switches |