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

Issue 621823004: Simplifies the structure of app_list search a bit. (Closed)

Created:
6 years, 2 months ago by Jun Mukai
Modified:
6 years, 2 months ago
Reviewers:
tapted, oshima, xiyuan
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, hashimoto
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Simplifies the structure of app_list search a bit. This is the first CL to simplify app list search. The final goal is making SearchResult copyable and remove SearchResultObserver but it would need the several steps. As the first step, it simply keeps the copying method Duplicate but removes the unnecessary class hierarchy of ChromeSearchResult. BUG=415500 R=oshima@chromium.org, tapted@chromium.org, xiyuan@chromium.org TEST=build passes, no functional changes Committed: https://crrev.com/d29ce06a1354e06e41596cf575af98aed9f6b8a7 Cr-Commit-Position: refs/heads/master@{#298154}

Patch Set 1 #

Total comments: 20

Patch Set 2 : fix #

Total comments: 8

Patch Set 3 : fix #

Patch Set 4 : rebase && git-cl format #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -208 lines) Patch
M ash/shell/app_list.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M athena/home/app_list_view_delegate.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M athena/main/url_search_provider.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/app_result.h View 1 2 3 4 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/app_list/search/app_result.cc View 1 3 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/ui/app_list/search/app_search_provider_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/ui/app_list/search/chrome_search_result.h View 1 chunk +0 lines, -55 lines 0 comments Download
M chrome/browser/ui/app_list/search/mixer.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/search/mixer.cc View 1 2 3 7 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/ui/app_list/search/mixer_unittest.cc View 1 2 3 4 3 chunks +11 lines, -15 lines 0 comments Download
M chrome/browser/ui/app_list/search/omnibox_provider.cc View 1 2 3 4 4 chunks +8 lines, -12 lines 0 comments Download
M chrome/browser/ui/app_list/search/people/people_provider.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/search/people/people_provider.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/search/people/people_provider_browsertest.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/people/people_result.h View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/app_list/search/people/people_result.cc View 1 4 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/app_list/search/search_controller.cc View 1 2 3 4 chunks +6 lines, -15 lines 0 comments Download
A chrome/browser/ui/app_list/search/search_util.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/search_util.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/search/search_webstore_result.h View 1 2 3 4 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/app_list/search/search_webstore_result.cc View 1 3 chunks +4 lines, -10 lines 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_provider.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_provider.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_result.h View 1 2 3 4 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_result.cc View 1 2 3 4 4 chunks +10 lines, -12 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M ui/app_list/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/app_list/app_list.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/app_list/cocoa/apps_search_results_controller_unittest.mm View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/app_list/search_provider.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ui/app_list/search_provider.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/app_list/search_result.h View 1 1 chunk +5 lines, -1 line 0 comments Download
A ui/app_list/test/test_search_result.h View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A ui/app_list/test/test_search_result.cc View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_view_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M ui/app_list/views/search_result_list_view_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
Jun Mukai
6 years, 2 months ago (2014-10-02 06:13:32 UTC) #1
tapted
seems like a reasonable change, but wait for xiyuan - just a couple of questions ...
6 years, 2 months ago (2014-10-02 07:19:21 UTC) #2
xiyuan
LGTM % tapted's nits https://codereview.chromium.org/621823004/diff/1/ui/app_list/search_result.h File ui/app_list/search_result.h (right): https://codereview.chromium.org/621823004/diff/1/ui/app_list/search_result.h#newcode27 ui/app_list/search_result.h:27: enum SearchResultType { This is ...
6 years, 2 months ago (2014-10-02 20:47:08 UTC) #3
Jun Mukai
https://codereview.chromium.org/621823004/diff/1/athena/home/app_list_view_delegate.cc File athena/home/app_list_view_delegate.cc (right): https://codereview.chromium.org/621823004/diff/1/athena/home/app_list_view_delegate.cc#newcode57 athena/home/app_list_view_delegate.cc:57: model_->results()->DeleteAll(); On 2014/10/02 07:19:21, tapted wrote: > Does this ...
6 years, 2 months ago (2014-10-03 01:24:24 UTC) #4
Jun Mukai
+oshima for ash / athena?
6 years, 2 months ago (2014-10-03 01:24:56 UTC) #6
oshima
ash/athena lgtm
6 years, 2 months ago (2014-10-03 01:57:49 UTC) #7
tapted
lgtm (and I think there might be a CQ step that tweaks the include headers ...
6 years, 2 months ago (2014-10-03 02:59:18 UTC) #8
Jun Mukai
https://codereview.chromium.org/621823004/diff/20001/chrome/browser/ui/app_list/search/search_util.cc File chrome/browser/ui/app_list/search/search_util.cc (right): https://codereview.chromium.org/621823004/diff/20001/chrome/browser/ui/app_list/search/search_util.cc#newcode1 chrome/browser/ui/app_list/search/search_util.cc:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 2 months ago (2014-10-03 20:23:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/621823004/40001
6 years, 2 months ago (2014-10-03 20:23:51 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/74751) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/64184) win_gpu ...
6 years, 2 months ago (2014-10-03 20:27:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/621823004/60001
6 years, 2 months ago (2014-10-03 20:45:53 UTC) #15
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 2 months ago (2014-10-03 22:50:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/621823004/60001
6 years, 2 months ago (2014-10-04 00:33:23 UTC) #19
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/app_list/search/app_result.h: While running git apply --index -3 -p1; error: patch ...
6 years, 2 months ago (2014-10-04 00:51:32 UTC) #21
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/d29ce06a1354e06e41596cf575af98aed9f6b8a7 Cr-Commit-Position: refs/heads/master@{#298154}
6 years, 2 months ago (2014-10-04 01:28:03 UTC) #23
Jun Mukai
6 years, 2 months ago (2014-10-04 01:28:03 UTC) #24
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
d29ce06a1354e06e41596cf575af98aed9f6b8a7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698