Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_FEATURES_H_ | 5 #ifndef UI_APP_LIST_APP_LIST_FEATURES_H_ |
| 6 #define UI_APP_LIST_APP_LIST_FEATURES_H_ | 6 #define UI_APP_LIST_APP_LIST_FEATURES_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ui/app_list/app_list_export.h" | 10 #include "ui/app_list/app_list_export.h" |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 24 // Enables the dark run answer card in the app list. In this mode, answer cards | 24 // Enables the dark run answer card in the app list. In this mode, answer cards |
| 25 // may be loaded via mock URLs and are not shown to the user. | 25 // may be loaded via mock URLs and are not shown to the user. |
| 26 APP_LIST_EXPORT extern const base::Feature kEnableAnswerCardDarkRun; | 26 APP_LIST_EXPORT extern const base::Feature kEnableAnswerCardDarkRun; |
| 27 | 27 |
| 28 // Enables the fullscreen app list. | 28 // Enables the fullscreen app list. |
| 29 APP_LIST_EXPORT extern const base::Feature kEnableFullscreenAppList; | 29 APP_LIST_EXPORT extern const base::Feature kEnableFullscreenAppList; |
| 30 | 30 |
| 31 bool APP_LIST_EXPORT IsAnswerCardEnabled(); | 31 bool APP_LIST_EXPORT IsAnswerCardEnabled(); |
| 32 bool APP_LIST_EXPORT IsAnswerCardDarkRunEnabled(); | 32 bool APP_LIST_EXPORT IsAnswerCardDarkRunEnabled(); |
| 33 bool APP_LIST_EXPORT IsFullscreenAppListEnabled(); | 33 bool APP_LIST_EXPORT IsFullscreenAppListEnabled(); |
| 34 bool APP_LIST_EXPORT IsSearchResultsNewDesignEnabled(); | |
|
stevenjb
2017/07/11 22:34:24
This is an unfortunate name for a feature. The "Ne
vadimt
2017/07/11 23:04:41
I'll rename it into "TouchFriendlySearchResults" i
| |
| 34 int APP_LIST_EXPORT AnswerCardMaxWidth(); | 35 int APP_LIST_EXPORT AnswerCardMaxWidth(); |
| 35 int APP_LIST_EXPORT AnswerCardMaxHeight(); | 36 int APP_LIST_EXPORT AnswerCardMaxHeight(); |
| 36 std::string APP_LIST_EXPORT AnswerServerUrl(); | 37 std::string APP_LIST_EXPORT AnswerServerUrl(); |
| 37 | 38 |
| 38 } // namespace features | 39 } // namespace features |
| 39 } // namespace app_list | 40 } // namespace app_list |
| 40 | 41 |
| 41 #endif // UI_APP_LIST_APP_LIST_FEATURES_H_ | 42 #endif // UI_APP_LIST_APP_LIST_FEATURES_H_ |
| OLD | NEW |