| Index: ui/app_list/search_result.h
|
| diff --git a/ui/app_list/search_result.h b/ui/app_list/search_result.h
|
| index 95bc5e55ee2b94ba5d0bc7bf032e91611b2327a1..5efcfd06a898d4a193c8b34f3f6263101ec0e664 100644
|
| --- a/ui/app_list/search_result.h
|
| +++ b/ui/app_list/search_result.h
|
| @@ -106,6 +106,11 @@ class APP_LIST_EXPORT SearchResult {
|
| }
|
| void SetActions(const Actions& sets);
|
|
|
| + // Whether the result can be automatically selected by a voice query.
|
| + // (Non-voice results can still appear in the results list to be manually
|
| + // selected.)
|
| + bool voice_result() const { return voice_result_; }
|
| +
|
| bool is_installing() const { return is_installing_; }
|
| void SetIsInstalling(bool is_installing);
|
|
|
| @@ -141,6 +146,7 @@ class APP_LIST_EXPORT SearchResult {
|
| void set_display_type(DisplayType display_type) {
|
| display_type_ = display_type;
|
| }
|
| + void set_voice_result(bool voice_result) { voice_result_ = voice_result; }
|
|
|
| private:
|
| gfx::ImageSkia icon_;
|
| @@ -156,6 +162,7 @@ class APP_LIST_EXPORT SearchResult {
|
| DisplayType display_type_;
|
|
|
| Actions actions_;
|
| + bool voice_result_;
|
|
|
| bool is_installing_;
|
| int percent_downloaded_;
|
|
|