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

Issue 253983002: Use centered app list position whenever virtual keyboard is enabled. (Closed)

Created:
6 years, 7 months ago by Matt Giuca
Modified:
6 years, 7 months ago
Reviewers:
varkha, benwells, James Cook
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, kalyank, sadrul, ben+ash_chromium.org, tfarina, kevers
Visibility:
Public.

Description

Use centered app list position whenever virtual keyboard is enabled. The old app list position doesn't fit on the screen when the keyboard is open. Therefore, whenever the virtual keyboard is enabled, use the new app list position (centered and wide). BUG=369382 TEST=In ChromeOS settings, under Accessibility, enable on-screen keyboard. Open App Launcher. App Launcher should now be centered and landscape. TBR=jamescook@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268479

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Only change shape when keyboard enabled (not when it *might* be enabled). #

Total comments: 10

Patch Set 4 : Rebase. #

Patch Set 5 : Renamed internal names to be "centered" instead of "experimental". #

Patch Set 6 : Added FindAnchorPointCentered test. #

Patch Set 7 : AppListTestViewDelegate: Override ShouldCenterWindow (fix Windows compile). #

Patch Set 8 : Fixed ExampleAppListViewDelegate (caused tree to close). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -15 lines) Patch
M ash/shell/app_list.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/app_list_controller.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_list/app_list_view_delegate.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_view_delegate.cc View 1 2 3 4 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/app_list/linux/app_list_linux.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/app_list/linux/app_list_linux.cc View 1 2 3 4 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc View 1 2 3 4 5 4 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/ui/views/app_list/win/app_list_win.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/app_list/win/app_list_win.cc View 1 2 3 4 3 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc View 1 2 3 4 5 3 chunks +18 lines, -1 line 0 comments Download
M ui/app_list/app_list_switches.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ui/app_list/app_list_view_delegate.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/test/app_list_test_view_delegate.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/test/app_list_test_view_delegate.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_main_view.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_main_view.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_view.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_view.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ui/app_list/views/apps_container_view.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Matt Giuca
benwells: Please review chrome/browser/ui/views/app_list/* ui/app_list/* Let me know if you want to delegate the review ...
6 years, 7 months ago (2014-04-30 06:26:49 UTC) #1
benwells
https://codereview.chromium.org/253983002/diff/50001/chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc File chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc (right): https://codereview.chromium.org/253983002/diff/50001/chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc#newcode112 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc:112: false); This thing is no longer experimental: it is ...
6 years, 7 months ago (2014-04-30 06:40:29 UTC) #2
Matt Giuca
https://codereview.chromium.org/253983002/diff/50001/chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc File chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc (right): https://codereview.chromium.org/253983002/diff/50001/chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc#newcode112 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc:112: false); Sounds reasonable. https://codereview.chromium.org/253983002/diff/50001/ui/app_list/app_list_switches.h File ui/app_list/app_list_switches.h (right): https://codereview.chromium.org/253983002/diff/50001/ui/app_list/app_list_switches.h#newcode36 ui/app_list/app_list_switches.h:36: ...
6 years, 7 months ago (2014-04-30 06:53:38 UTC) #3
varkha
I've looked at the bug and left a comment there. I think it may make ...
6 years, 7 months ago (2014-04-30 16:20:15 UTC) #4
varkha
A question: should this be looked at in tie with https://codereview.chromium.org/250423004/ and https://codereview.chromium.org/260663002/ or is ...
6 years, 7 months ago (2014-04-30 16:39:34 UTC) #5
Matt Giuca
Yes. It isn't really related to those other two CLs, it's just going in after ...
6 years, 7 months ago (2014-04-30 22:32:28 UTC) #6
Matt Giuca
OK, all updated and the renames and tests are done. Please take another look. Please ...
6 years, 7 months ago (2014-05-05 06:18:05 UTC) #7
varkha
LGTM for ash/wm.
6 years, 7 months ago (2014-05-05 06:28:53 UTC) #8
benwells
thanks! lgtm!
6 years, 7 months ago (2014-05-06 04:41:22 UTC) #9
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 7 months ago (2014-05-06 05:50:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/253983002/240001
6 years, 7 months ago (2014-05-06 05:51:01 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-06 05:57:09 UTC) #12
commit-bot: I haz the power
Change committed as 268443
6 years, 7 months ago (2014-05-06 06:03:30 UTC) #13
Mike West
A revert of this CL has been created in https://codereview.chromium.org/266193009/ by mkwst@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-06 06:57:38 UTC) #14
Matt Giuca
jamescook: Had to add you as a last-minute reviewer to fix the broken build for ...
6 years, 7 months ago (2014-05-06 08:09:45 UTC) #15
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 7 months ago (2014-05-06 08:11:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/253983002/260001
6 years, 7 months ago (2014-05-06 08:11:53 UTC) #17
commit-bot: I haz the power
6 years, 7 months ago (2014-05-06 10:24:00 UTC) #18
Message was sent while issue was closed.
Change committed as 268479

Powered by Google App Engine
This is Rietveld 408576698