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

Issue 408623003: Minimize HomeCard if the user opens something in the home card. (Closed)

Created:
6 years, 5 months ago by Jun Mukai
Modified:
6 years, 5 months ago
Reviewers:
oshima, sadrul, sky
CC:
chromium-reviews, darin-cc_chromium.org, jam
Project:
chromium
Visibility:
Public.

Description

Minimize HomeCard if the user opens something in the home card. This is applied to: - open to the search result - click on app icon I am not sure this is the right approach. We may want to introduce an ActivityObserver or something, and minimize the home card by itself. However, activity may be created for various reason but minimizing should work upon the user's action on the home card, so this approach isn't bad. BUG=None R=oshima@chromium.org, sadrul@chromium.org TBR=sky@chromium.org TEST=manually Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284962

Patch Set 1 #

Patch Set 2 : rebase + search clear #

Patch Set 3 : fix #

Patch Set 4 : test #

Total comments: 6

Patch Set 5 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -4 lines) Patch
M athena/activity/activity_view_manager_impl.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M athena/athena.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M athena/home/DEPS View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M athena/home/home_card_impl.cc View 1 2 3 9 chunks +30 lines, -3 lines 0 comments Download
A athena/home/home_card_unittest.cc View 1 2 3 4 1 chunk +65 lines, -0 lines 0 comments Download
M athena/home/public/home_card.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M athena/test/athena_test_helper.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M athena/wm/window_manager_impl.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Jun Mukai
6 years, 5 months ago (2014-07-19 00:53:30 UTC) #1
sadrul
A different approach could be to override WindowObserver::OnWindowStackingChanged() from WindowManagerImpl, and trigger some callback in ...
6 years, 5 months ago (2014-07-19 17:56:22 UTC) #2
Jun Mukai
On 2014/07/19 17:56:22, sadrul wrote: > A different approach could be to override > WindowObserver::OnWindowStackingChanged() ...
6 years, 5 months ago (2014-07-21 22:19:00 UTC) #3
sadrul
Cool. LGTM
6 years, 5 months ago (2014-07-22 16:58:27 UTC) #4
oshima
is it possible to write a test in athena_unittests?
6 years, 5 months ago (2014-07-22 17:59:50 UTC) #5
Jun Mukai
added tests. ptal.
6 years, 5 months ago (2014-07-22 21:30:16 UTC) #6
oshima
https://codereview.chromium.org/408623003/diff/60001/athena/home/home_card_unittest.cc File athena/home/home_card_unittest.cc (right): https://codereview.chromium.org/408623003/diff/60001/athena/home/home_card_unittest.cc#newcode25 athena/home/home_card_unittest.cc:25: app_list::switches::kEnableExperimentalAppList); please move this to the helper as discussed ...
6 years, 5 months ago (2014-07-22 21:48:38 UTC) #7
Jun Mukai
https://codereview.chromium.org/408623003/diff/60001/athena/home/home_card_unittest.cc File athena/home/home_card_unittest.cc (right): https://codereview.chromium.org/408623003/diff/60001/athena/home/home_card_unittest.cc#newcode25 athena/home/home_card_unittest.cc:25: app_list::switches::kEnableExperimentalAppList); On 2014/07/22 21:48:38, oshima wrote: > please move ...
6 years, 5 months ago (2014-07-22 21:57:57 UTC) #8
oshima
lgtm
6 years, 5 months ago (2014-07-22 22:12:30 UTC) #9
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-22 22:34:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/408623003/80001
6 years, 5 months ago (2014-07-22 22:36:05 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-23 02:37:07 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-23 02:41:14 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/81662)
6 years, 5 months ago (2014-07-23 02:41:15 UTC) #14
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 5 months ago (2014-07-23 16:41:19 UTC) #15
Jun Mukai
TBR=sky for adding dependency from athena/home to ui/wm/public
6 years, 5 months ago (2014-07-23 16:41:43 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/408623003/80001
6 years, 5 months ago (2014-07-23 16:44:37 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-23 16:59:24 UTC) #18
Message was sent while issue was closed.
Change committed as 284962

Powered by Google App Engine
This is Rietveld 408576698