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

Issue 882463004: app_list: Refactor mixer groups to avoid hard-coded groups in Mixer. (Closed)

Created:
5 years, 10 months ago by Matt Giuca
Modified:
5 years, 8 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@applist-mixer-clamp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

app_list: Refactor mixer groups to avoid hard-coded groups in Mixer. Now, Mixer is not opinionated about what groups it has; it provides an interface for its client to provide any number of arbitrary groups. (Except that there is a special case for the omnibox group, which should be fixed in the future.) BUG= Committed: https://crrev.com/36a4e7d48e672fc36cf235a7cd42b15da97dfa65 Cr-Commit-Position: refs/heads/master@{#324595}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rename 'main' group to 'apps'. #

Patch Set 4 : Rewrite comments. #

Total comments: 2

Patch Set 5 : Rebase (includes new LauncherSearchProvider). #

Patch Set 6 : Mixer: Dynamic and optional omnibox group number, rather than hard-coded as group 1. #

Total comments: 2

Patch Set 7 : Init omnibox_group_ and use in-class initialization. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -73 lines) Patch
M chrome/browser/ui/app_list/search/search_controller_factory.cc View 1 2 3 4 5 3 chunks +32 lines, -6 lines 0 comments Download
M ui/app_list/search/mixer.h View 1 2 3 4 5 6 4 chunks +24 lines, -20 lines 0 comments Download
M ui/app_list/search/mixer.cc View 1 2 3 4 5 6 5 chunks +33 lines, -37 lines 0 comments Download
M ui/app_list/search/mixer_unittest.cc View 1 2 3 4 5 2 chunks +16 lines, -5 lines 0 comments Download
M ui/app_list/search_controller.h View 1 2 3 4 5 1 chunk +7 lines, -2 lines 0 comments Download
M ui/app_list/search_controller.cc View 1 2 3 4 5 2 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Matt Giuca
OK, so this refactor basically takes all logic of *specific* groups out of the Mixer, ...
5 years, 10 months ago (2015-02-09 04:59:35 UTC) #2
calamity
https://codereview.chromium.org/882463004/diff/70001/ui/app_list/search/mixer.h File ui/app_list/search/mixer.h (right): https://codereview.chromium.org/882463004/diff/70001/ui/app_list/search/mixer.h#newcode38 ui/app_list/search/mixer.h:38: static const size_t OMNIBOX_GROUP; Can we make an omnibox_group_ ...
5 years, 8 months ago (2015-04-10 03:34:18 UTC) #4
Matt Giuca
Good suggestion. https://codereview.chromium.org/882463004/diff/70001/ui/app_list/search/mixer.h File ui/app_list/search/mixer.h (right): https://codereview.chromium.org/882463004/diff/70001/ui/app_list/search/mixer.h#newcode38 ui/app_list/search/mixer.h:38: static const size_t OMNIBOX_GROUP; On 2015/04/10 03:34:18, ...
5 years, 8 months ago (2015-04-10 03:49:19 UTC) #5
calamity
lgtm https://codereview.chromium.org/882463004/diff/110001/ui/app_list/search/mixer.cc File ui/app_list/search/mixer.cc (right): https://codereview.chromium.org/882463004/diff/110001/ui/app_list/search/mixer.cc#newcode119 ui/app_list/search/mixer.cc:119: : ui_results_(ui_results), has_omnibox_group_(false) { Initialize omnibox_group_. In fact, ...
5 years, 8 months ago (2015-04-10 05:28:05 UTC) #6
Matt Giuca
In-class!!! https://codereview.chromium.org/882463004/diff/110001/ui/app_list/search/mixer.cc File ui/app_list/search/mixer.cc (right): https://codereview.chromium.org/882463004/diff/110001/ui/app_list/search/mixer.cc#newcode119 ui/app_list/search/mixer.cc:119: : ui_results_(ui_results), has_omnibox_group_(false) { On 2015/04/10 05:28:05, calamity ...
5 years, 8 months ago (2015-04-10 05:33:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/882463004/130001
5 years, 8 months ago (2015-04-10 05:34:30 UTC) #10
commit-bot: I haz the power
Committed patchset #7 (id:130001)
5 years, 8 months ago (2015-04-10 06:27:55 UTC) #11
commit-bot: I haz the power
5 years, 8 months ago (2015-04-10 06:28:47 UTC) #12
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/36a4e7d48e672fc36cf235a7cd42b15da97dfa65
Cr-Commit-Position: refs/heads/master@{#324595}

Powered by Google App Engine
This is Rietveld 408576698