1f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)// Copyright 2013 The Chromium Authors. All rights reserved.
2f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
3f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)// found in the LICENSE file.
4f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)
5f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)#ifndef UI_APP_LIST_APP_LIST_SWITCHES_H_
6f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)#define UI_APP_LIST_APP_LIST_SWITCHES_H_
7f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)
8f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)#include "ui/app_list/app_list_export.h"
9f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)
10f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)namespace app_list {
11f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)namespace switches {
12f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)
13a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// Please keep these flags sorted.
14f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)APP_LIST_EXPORT extern const char kDisableAppInfo[];
151320f92c476a1ad9d19dba2a48c72b75566198e9Primiano TucciAPP_LIST_EXPORT extern const char kDisableDriveAppsInAppList[];
16c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochAPP_LIST_EXPORT extern const char kDisableSyncAppList[];
17010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)APP_LIST_EXPORT extern const char kEnableCenteredAppList[];
18a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)APP_LIST_EXPORT extern const char kEnableExperimentalAppList[];
19a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)APP_LIST_EXPORT extern const char kEnableHotwordAlwaysOn[];
20c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochAPP_LIST_EXPORT extern const char kEnableSyncAppList[];
21c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch
22c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochbool APP_LIST_EXPORT IsAppListSyncEnabled();
23f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)
245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)bool APP_LIST_EXPORT IsFolderUIEnabled();
255d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
265d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)bool APP_LIST_EXPORT IsVoiceSearchEnabled();
275d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
285d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)bool APP_LIST_EXPORT IsAppInfoEnabled();
29f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)
30a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)bool APP_LIST_EXPORT IsExperimentalAppListEnabled();
31a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
32010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)// Determines whether either command-line switch was given for enabling the
33010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)// centered app list position. Do not use this when positioning the app list;
34010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)// instead use AppListViewDelegate::ShouldCenterWindow. It checks a superset of
35010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)// the conditions that trigger the position.
36010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)bool APP_LIST_EXPORT IsCenteredAppListEnabled();
37a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
386d86b77056ed63eb6871182f42a9fd5f07550f90Torne (Richard Coles)bool APP_LIST_EXPORT IsDriveAppsInAppListEnabled();
396d86b77056ed63eb6871182f42a9fd5f07550f90Torne (Richard Coles)
40f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)}  // namespace switches
41f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)}  // namespace app_list
42f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)
43f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)#endif  // UI_APP_LIST_APP_LIST_SWITCHES_H_
44