Chromium Code Reviews| 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 |
| 11 namespace app_list { | 11 namespace app_list { |
| 12 namespace switches { | 12 namespace switches { |
| 13 | 13 |
| 14 // Please keep these flags sorted. | 14 // Please keep these flags sorted (but keep enable/disable pairs together). |
|
calamity
2015/05/14 04:08:33
+1
| |
| 15 APP_LIST_EXPORT extern const char kCustomLauncherPage[]; | 15 APP_LIST_EXPORT extern const char kCustomLauncherPage[]; |
| 16 APP_LIST_EXPORT extern const char kDisableAppListDismissOnBlur[]; | 16 APP_LIST_EXPORT extern const char kDisableAppListDismissOnBlur[]; |
| 17 APP_LIST_EXPORT extern const char kDisableDriveAppsInAppList[]; | 17 APP_LIST_EXPORT extern const char kDisableDriveAppsInAppList[]; |
| 18 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; | |
| 19 APP_LIST_EXPORT extern const char kEnableCenteredAppList[]; | 18 APP_LIST_EXPORT extern const char kEnableCenteredAppList[]; |
| 20 APP_LIST_EXPORT extern const char kEnableExperimentalAppList[]; | 19 APP_LIST_EXPORT extern const char kEnableExperimentalAppList[]; |
| 21 APP_LIST_EXPORT extern const char kDisableExperimentalAppList[]; | 20 APP_LIST_EXPORT extern const char kDisableExperimentalAppList[]; |
| 21 APP_LIST_EXPORT extern const char kEnableNewAppListMixer[]; | |
| 22 APP_LIST_EXPORT extern const char kDisableNewAppListMixer[]; | |
| 22 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; | 23 APP_LIST_EXPORT extern const char kEnableSyncAppList[]; |
| 24 APP_LIST_EXPORT extern const char kDisableSyncAppList[]; | |
| 23 APP_LIST_EXPORT extern const char kEnableLauncherSearchProviderApi[]; | 25 APP_LIST_EXPORT extern const char kEnableLauncherSearchProviderApi[]; |
| 24 | 26 |
| 25 #if defined(OS_MACOSX) | 27 #if defined(OS_MACOSX) |
| 26 APP_LIST_EXPORT extern const char kEnableMacViewsAppList[]; | 28 APP_LIST_EXPORT extern const char kEnableMacViewsAppList[]; |
| 27 #endif | 29 #endif |
| 28 | 30 |
| 29 bool APP_LIST_EXPORT IsAppListSyncEnabled(); | 31 bool APP_LIST_EXPORT IsAppListSyncEnabled(); |
| 30 | 32 |
| 31 bool APP_LIST_EXPORT IsFolderUIEnabled(); | 33 bool APP_LIST_EXPORT IsFolderUIEnabled(); |
| 32 | 34 |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 48 bool APP_LIST_EXPORT IsLauncherSearchProviderApiEnabled(); | 50 bool APP_LIST_EXPORT IsLauncherSearchProviderApiEnabled(); |
| 49 | 51 |
| 50 #if defined(OS_MACOSX) | 52 #if defined(OS_MACOSX) |
| 51 bool APP_LIST_EXPORT IsMacViewsAppListListEnabled(); | 53 bool APP_LIST_EXPORT IsMacViewsAppListListEnabled(); |
| 52 #endif | 54 #endif |
| 53 | 55 |
| 54 } // namespace switches | 56 } // namespace switches |
| 55 } // namespace app_list | 57 } // namespace app_list |
| 56 | 58 |
| 57 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ | 59 #endif // UI_APP_LIST_APP_LIST_SWITCHES_H_ |
| OLD | NEW |