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

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

Issue 2878503004: Implement search answer "dark run" mode. (Closed)
Patch Set: Created 3 years, 7 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
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"
11 11
12 namespace base { 12 namespace base {
13 struct Feature; 13 struct Feature;
14 } 14 }
15 15
16 namespace app_list { 16 namespace app_list {
17 namespace features { 17 namespace features {
18 18
19 // Please keep these features sorted. 19 // Please keep these features sorted.
20 20
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
25 // may be loaded via mock URLs and are not shown to the user.
26 APP_LIST_EXPORT extern const base::Feature kEnableAnswerCardDarkRun;
27
24 // Enables the fullscreen app list. 28 // Enables the fullscreen app list.
25 APP_LIST_EXPORT extern const base::Feature kEnableFullscreenAppList; 29 APP_LIST_EXPORT extern const base::Feature kEnableFullscreenAppList;
26 30
27 bool APP_LIST_EXPORT IsAnswerCardEnabled(); 31 bool APP_LIST_EXPORT IsAnswerCardEnabled();
32 bool APP_LIST_EXPORT IsAnswerCardDarkRunEnabled();
28 bool APP_LIST_EXPORT IsFullscreenAppListEnabled(); 33 bool APP_LIST_EXPORT IsFullscreenAppListEnabled();
29 std::string APP_LIST_EXPORT AnswerServerUrl(); 34 std::string APP_LIST_EXPORT AnswerServerUrl();
30 35
31 } // namespace features 36 } // namespace features
32 } // namespace app_list 37 } // namespace app_list
33 38
34 #endif // UI_APP_LIST_APP_LIST_FEATURES_H_ 39 #endif // UI_APP_LIST_APP_LIST_FEATURES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/search_answer_web_contents_delegate.cc ('k') | ui/app_list/app_list_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698