Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1023)

Side by Side Diff: ui/app_list/app_list_features.h

Issue 2972243002: Fix app list item indexing bug. (Closed)
Patch Set: oshima's comments. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/app_list/BUILD.gn ('k') | ui/app_list/app_list_features.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 10 matching lines...) Expand all
21 // Enables the answer card in the app list. 21 // Enables the answer card in the app list.
22 APP_LIST_EXPORT extern const base::Feature kEnableAnswerCard; 22 APP_LIST_EXPORT extern const base::Feature kEnableAnswerCard;
23 23
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 // Enables the Play Store app search.
32 APP_LIST_EXPORT extern const base::Feature kEnablePlayStoreAppSearch;
33
31 bool APP_LIST_EXPORT IsAnswerCardEnabled(); 34 bool APP_LIST_EXPORT IsAnswerCardEnabled();
32 bool APP_LIST_EXPORT IsAnswerCardDarkRunEnabled(); 35 bool APP_LIST_EXPORT IsAnswerCardDarkRunEnabled();
33 bool APP_LIST_EXPORT IsFullscreenAppListEnabled(); 36 bool APP_LIST_EXPORT IsFullscreenAppListEnabled();
34 bool APP_LIST_EXPORT IsSearchResultsNewDesignEnabled(); 37 bool APP_LIST_EXPORT IsSearchResultsNewDesignEnabled();
35 bool APP_LIST_EXPORT IsPlayStoreAppSearchEnabled(); 38 bool APP_LIST_EXPORT IsPlayStoreAppSearchEnabled();
36 int APP_LIST_EXPORT AnswerCardMaxWidth(); 39 int APP_LIST_EXPORT AnswerCardMaxWidth();
37 int APP_LIST_EXPORT AnswerCardMaxHeight(); 40 int APP_LIST_EXPORT AnswerCardMaxHeight();
38 std::string APP_LIST_EXPORT AnswerServerUrl(); 41 std::string APP_LIST_EXPORT AnswerServerUrl();
39 42
40 } // namespace features 43 } // namespace features
41 } // namespace app_list 44 } // namespace app_list
42 45
43 #endif // UI_APP_LIST_APP_LIST_FEATURES_H_ 46 #endif // UI_APP_LIST_APP_LIST_FEATURES_H_
OLDNEW
« no previous file with comments | « ui/app_list/BUILD.gn ('k') | ui/app_list/app_list_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698