| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/ui/app_list/search/omnibox_result.h" | 5 #include "chrome/browser/ui/app_list/search/omnibox_result.h" |
| 6 | 6 |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "chrome/browser/autocomplete/autocomplete_controller.h" | |
| 9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 8 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 11 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" | 10 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" |
| 12 #include "chrome/browser/ui/app_list/search/search_util.h" | 11 #include "chrome/browser/ui/app_list/search/search_util.h" |
| 13 #include "components/bookmarks/browser/bookmark_model.h" | 12 #include "components/bookmarks/browser/bookmark_model.h" |
| 13 #include "components/omnibox/autocomplete_controller.h" |
| 14 #include "components/omnibox/autocomplete_match_type.h" | 14 #include "components/omnibox/autocomplete_match_type.h" |
| 15 #include "grit/theme_resources.h" | 15 #include "grit/theme_resources.h" |
| 16 #include "ui/base/resource/resource_bundle.h" | 16 #include "ui/base/resource/resource_bundle.h" |
| 17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 18 #include "url/url_canon.h" | 18 #include "url/url_canon.h" |
| 19 | 19 |
| 20 using bookmarks::BookmarkModel; | 20 using bookmarks::BookmarkModel; |
| 21 | 21 |
| 22 namespace app_list { | 22 namespace app_list { |
| 23 | 23 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 set_title_tags(title_tags); | 158 set_title_tags(title_tags); |
| 159 | 159 |
| 160 set_details(match_.description); | 160 set_details(match_.description); |
| 161 SearchResult::Tags details_tags; | 161 SearchResult::Tags details_tags; |
| 162 ACMatchClassificationsToTags(match_.description, match_.description_class, | 162 ACMatchClassificationsToTags(match_.description, match_.description_class, |
| 163 &details_tags); | 163 &details_tags); |
| 164 set_details_tags(details_tags); | 164 set_details_tags(details_tags); |
| 165 } | 165 } |
| 166 | 166 |
| 167 } // namespace app_list | 167 } // namespace app_list |
| OLD | NEW |