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

Issue 2939693004: Added HALF, FULLSCREEN_ALL_APPS, and FULLSCREEN_SEARCH. (Closed)

Created:
3 years, 6 months ago by newcomer
Modified:
3 years, 6 months ago
Reviewers:
xiyuan, vadimt, oshima
CC:
chromium-reviews, kalyank, sadrul, Matt Giuca, tfarina, weidongg, Qiang(Joe) Xu
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Added HALF, FULLSCREEN_ALL_APPS, and FULLSCREEN_SEARCH. |HALF| - Half App List. This mode is entered when the user types into the search box from peeking mode. |FULLSCREEN_ALL_APPS| - Fullscreen app list that shows all apps. Entered by default in maximize and side shelf modes. Also entered with an upward swipe from |PEEKING|. |FULLSCREEN_SEARCH| - Fullscreen app list that shows search results. Entered from FULLSCREEN_ALL_APPS after text is entered in the search box, or from upward swipe from |HALF|. Please note: all Mash support will come post 61 as per crbug.com/726838 BUG=731892 Review-Url: https://codereview.chromium.org/2939693004 Cr-Original-Commit-Position: refs/heads/master@{#479851} Committed: https://chromium.googlesource.com/chromium/src/+/a1201ceb12bfedf51cb1c0e01879bd3521ba88a7 Review-Url: https://codereview.chromium.org/2939693004 Cr-Commit-Position: refs/heads/master@{#480064} Committed: https://chromium.googlesource.com/chromium/src/+/f486598b282e1f5399b94b04ca25e7e3bbd12526

Patch Set 1 #

Total comments: 24

Patch Set 2 : Addressed comments. #

Total comments: 2

Patch Set 3 : Addressed comments. #

Total comments: 50

Patch Set 4 : Addressed comments. #

Total comments: 3

Patch Set 5 : Rebased. #

Total comments: 2

Patch Set 6 : Addressed comments. #

Total comments: 10

Patch Set 7 : Addressed comments. #

Patch Set 8 : Rebased. #

Patch Set 9 : Added a return statement for the default case. Added HALF, FULLSCREEN_ALL_APPS, and FULLSCREEN_SEAR… #

Patch Set 10 : Fixed missing return statement after rebase. #

Patch Set 11 : rebased post revert. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -91 lines) Patch
M ash/app_list/app_list_presenter_delegate.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ash/app_list/app_list_presenter_delegate.cc View 1 2 3 4 5 6 7 8 3 chunks +33 lines, -1 line 0 comments Download
M ash/app_list/app_list_presenter_delegate_unittest.cc View 1 chunk +0 lines, -22 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_presenter_delegate_mus.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M ui/app_list/demo/app_list_demo_views.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/presenter/app_list_presenter_impl_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/all_apps_tile_item_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/app_list_view.h View 1 2 3 4 5 6 7 4 chunks +37 lines, -10 lines 0 comments Download
M ui/app_list/views/app_list_view.cc View 1 2 3 4 5 6 7 8 6 chunks +197 lines, -46 lines 0 comments Download
M ui/app_list/views/app_list_view_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/search_box_view.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 94 (69 generated)
newcomer
Good morning Vadim, Please take a look before I submit this to sky@ and Xiyuan@ ...
3 years, 6 months ago (2017-06-13 17:07:29 UTC) #3
vadimt
https://codereview.chromium.org/2939693004/diff/1/ash/app_list/app_list_presenter_delegate.cc File ash/app_list/app_list_presenter_delegate.cc (right): https://codereview.chromium.org/2939693004/diff/1/ash/app_list/app_list_presenter_delegate.cc#newcode102 ash/app_list/app_list_presenter_delegate.cc:102: IsSideShelf(root_window)); Would it be too expensive to calculate root_window ...
3 years, 6 months ago (2017-06-13 18:14:11 UTC) #12
newcomer
Addressed comments! -Alex https://codereview.chromium.org/2939693004/diff/1/ash/app_list/app_list_presenter_delegate.cc File ash/app_list/app_list_presenter_delegate.cc (right): https://codereview.chromium.org/2939693004/diff/1/ash/app_list/app_list_presenter_delegate.cc#newcode102 ash/app_list/app_list_presenter_delegate.cc:102: IsSideShelf(root_window)); On 2017/06/13 18:14:10, vadimt wrote: ...
3 years, 6 months ago (2017-06-13 18:51:46 UTC) #14
vadimt
https://codereview.chromium.org/2939693004/diff/40001/ui/app_list/views/app_list_view.cc File ui/app_list/views/app_list_view.cc (right): https://codereview.chromium.org/2939693004/diff/40001/ui/app_list/views/app_list_view.cc#newcode807 ui/app_list/views/app_list_view.cc:807: bool state_overridden = false; You don't need this. Just ...
3 years, 6 months ago (2017-06-13 19:20:31 UTC) #19
newcomer
PTAL! -Alex https://codereview.chromium.org/2939693004/diff/40001/ui/app_list/views/app_list_view.cc File ui/app_list/views/app_list_view.cc (right): https://codereview.chromium.org/2939693004/diff/40001/ui/app_list/views/app_list_view.cc#newcode807 ui/app_list/views/app_list_view.cc:807: bool state_overridden = false; On 2017/06/13 19:20:31, ...
3 years, 6 months ago (2017-06-13 20:25:07 UTC) #20
vadimt
lgtm
3 years, 6 months ago (2017-06-13 20:26:38 UTC) #21
newcomer
PTAL! -Alex
3 years, 6 months ago (2017-06-13 20:29:27 UTC) #25
xiyuan
Please insert an empty line between commit message subject and body. And wrap the body ...
3 years, 6 months ago (2017-06-13 21:38:59 UTC) #26
newcomer
Responded to Xiyuan@ 's comments. -Alex https://codereview.chromium.org/2939693004/diff/60001/ash/app_list/app_list_presenter_delegate.cc File ash/app_list/app_list_presenter_delegate.cc (right): https://codereview.chromium.org/2939693004/diff/60001/ash/app_list/app_list_presenter_delegate.cc#newcode179 ash/app_list/app_list_presenter_delegate.cc:179: RootWindowController::ForTargetRootWindow()->GetRootWindow(); On 2017/06/13 ...
3 years, 6 months ago (2017-06-13 22:22:49 UTC) #28
oshima
could you please add unit tests? https://codereview.chromium.org/2939693004/diff/60001/ash/app_list/app_list_presenter_delegate.cc File ash/app_list/app_list_presenter_delegate.cc (right): https://codereview.chromium.org/2939693004/diff/60001/ash/app_list/app_list_presenter_delegate.cc#newcode173 ash/app_list/app_list_presenter_delegate.cc:173: return maximize_mode_controller && ...
3 years, 6 months ago (2017-06-13 22:26:05 UTC) #31
newcomer
Updated CL Description.
3 years, 6 months ago (2017-06-13 22:26:18 UTC) #32
newcomer
PTAL! In regards to unit tests, I would like to land this CL first (it's ...
3 years, 6 months ago (2017-06-13 23:00:40 UTC) #35
oshima
https://codereview.chromium.org/2939693004/diff/60001/ui/app_list/views/app_list_view.cc File ui/app_list/views/app_list_view.cc (right): https://codereview.chromium.org/2939693004/diff/60001/ui/app_list/views/app_list_view.cc#newcode65 ui/app_list/views/app_list_view.cc:65: constexpr int kHalfAppListHeight = 561; On 2017/06/13 23:00:39, newcomer ...
3 years, 6 months ago (2017-06-14 00:37:34 UTC) #44
xiyuan
lgtm with a style nit https://codereview.chromium.org/2939693004/diff/160001/ui/app_list/views/app_list_view.cc File ui/app_list/views/app_list_view.cc (right): https://codereview.chromium.org/2939693004/diff/160001/ui/app_list/views/app_list_view.cc#newcode833 ui/app_list/views/app_list_view.cc:833: } break; This style ...
3 years, 6 months ago (2017-06-14 17:02:59 UTC) #45
newcomer
Thanks and PTAL! -Alex https://codereview.chromium.org/2939693004/diff/60001/ui/app_list/views/app_list_view.cc File ui/app_list/views/app_list_view.cc (right): https://codereview.chromium.org/2939693004/diff/60001/ui/app_list/views/app_list_view.cc#newcode65 ui/app_list/views/app_list_view.cc:65: constexpr int kHalfAppListHeight = 561; ...
3 years, 6 months ago (2017-06-15 16:55:33 UTC) #49
oshima
In general, you should add a test when you add new behavior, otherwise someone else ...
3 years, 6 months ago (2017-06-15 17:51:45 UTC) #50
newcomer
Oshima, Will do! -Alex https://codereview.chromium.org/2939693004/diff/60001/ui/app_list/views/app_list_view.cc File ui/app_list/views/app_list_view.cc (right): https://codereview.chromium.org/2939693004/diff/60001/ui/app_list/views/app_list_view.cc#newcode65 ui/app_list/views/app_list_view.cc:65: constexpr int kHalfAppListHeight = 561; ...
3 years, 6 months ago (2017-06-15 18:20:27 UTC) #53
oshima
lgtm
3 years, 6 months ago (2017-06-15 21:03:14 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2939693004/330001
3 years, 6 months ago (2017-06-15 21:42:24 UTC) #62
commit-bot: I haz the power
Committed patchset #8 (id:330001) as https://chromium.googlesource.com/chromium/src/+/a1201ceb12bfedf51cb1c0e01879bd3521ba88a7
3 years, 6 months ago (2017-06-15 21:50:49 UTC) #65
findit-for-me
A revert of this CL (patchset #8 id:330001) has been created in https://codereview.chromium.org/2938203004/ by findit-for-me@appspot.gserviceaccount.com. ...
3 years, 6 months ago (2017-06-15 22:44:54 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2939693004/350001
3 years, 6 months ago (2017-06-15 23:12:50 UTC) #70
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/442833) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-06-15 23:15:41 UTC) #72
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2939693004/390001
3 years, 6 months ago (2017-06-16 16:15:03 UTC) #91
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 16:19:52 UTC) #94
Message was sent while issue was closed.
Committed patchset #11 (id:390001) as
https://chromium.googlesource.com/chromium/src/+/f486598b282e1f5399b94b04ca25...

Powered by Google App Engine
This is Rietveld 408576698