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

Issue 1816753002: Enable mash shelf tooltips. (Closed)

Created:
4 years, 9 months ago by msw
Modified:
4 years, 9 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, kalyank, sadrul, James Cook
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable mash shelf tooltips. Make ShelfItemDelegateMus::ShouldShowTooltip() return true. Put sysui menu/bubble widgets in mus's MENUS container. (bubbles are used for shelf tooltips and volume/etc. settings) Put sysui tooltip widgets in mus's TOOLTIPS container. Rewrite ShelfTooltipManager as an aura::Window pre-target handler. (can't install itself as a pre-target handler for the desktop root...) Remove ShelfButtonHost; simplify ShelfButton and AppListButton. (contain event observation logic within ShelfTooltipManager) Update unit tests and helper classes; note currently broken behavior: TODO: Make tooltips close on touch events outside the shelf. TODO: Push item state to items; avoid shelf item delegates, etc. BUG=595853 TEST=mash shelf shows tooltips; no cros regressions (except not closing on touch/gesture outside shelf). R=sky@chromium.org Committed: https://crrev.com/e9d901efb5bc6bbf434ac67b70f90e9ef73419d8 Cr-Commit-Position: refs/heads/master@{#382976}

Patch Set 1 #

Patch Set 2 : Rewrite ShelfTooltipManager #

Patch Set 3 : Cleanup. #

Patch Set 4 : Sync and rebase. #

Patch Set 5 : Revise tooltip event testing. #

Total comments: 9

Patch Set 6 : Address destructor comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+504 lines, -1027 lines) Patch
M ash/ash.gyp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/mus/shelf_delegate_mus.cc View 1 chunk +1 line, -4 lines 0 comments Download
M ash/mus/sysui_application.cc View 1 2 3 3 chunks +16 lines, -6 lines 0 comments Download
M ash/shelf/app_list_button.h View 1 2 3 chunks +4 lines, -18 lines 0 comments Download
M ash/shelf/app_list_button.cc View 1 2 6 chunks +15 lines, -44 lines 0 comments Download
M ash/shelf/shelf_button.h View 1 2 6 chunks +10 lines, -46 lines 0 comments Download
M ash/shelf/shelf_button.cc View 1 2 12 chunks +50 lines, -102 lines 0 comments Download
D ash/shelf/shelf_button_host.h View 1 1 chunk +0 lines, -65 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager.h View 1 2 1 chunk +25 lines, -59 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager.cc View 1 2 3 4 5 3 chunks +91 lines, -241 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager_unittest.cc View 1 2 3 4 6 chunks +58 lines, -139 lines 0 comments Download
M ash/shelf/shelf_view.h View 1 2 10 chunks +23 lines, -25 lines 0 comments Download
M ash/shelf/shelf_view.cc View 1 2 3 22 chunks +131 lines, -171 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 1 2 3 14 chunks +66 lines, -101 lines 0 comments Download
M ash/test/shelf_test_api.cc View 1 1 chunk +2 lines, -5 lines 0 comments Download
M ash/test/shelf_view_test_api.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M ash/test/shelf_view_test_api.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_drag_and_drop_host.h View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816753002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816753002/40001
4 years, 9 months ago (2016-03-23 06:32:08 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/148532) ios_rel_device_gn on ...
4 years, 9 months ago (2016-03-23 06:34:25 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816753002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816753002/60001
4 years, 9 months ago (2016-03-23 06:59:32 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/143563)
4 years, 9 months ago (2016-03-23 07:34:40 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816753002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816753002/80001
4 years, 9 months ago (2016-03-23 16:39:30 UTC) #13
msw
Hey Scott, please take a look; thanks!
4 years, 9 months ago (2016-03-23 16:39:38 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-23 17:32:14 UTC) #16
sky
+jamescook in case he is interested in seeing these changes. https://codereview.chromium.org/1816753002/diff/80001/ash/shelf/app_list_button.cc File ash/shelf/app_list_button.cc (left): https://codereview.chromium.org/1816753002/diff/80001/ash/shelf/app_list_button.cc#oldcode80 ...
4 years, 9 months ago (2016-03-23 17:53:03 UTC) #18
msw
Please take another look; thanks! https://codereview.chromium.org/1816753002/diff/80001/ash/shelf/app_list_button.cc File ash/shelf/app_list_button.cc (left): https://codereview.chromium.org/1816753002/diff/80001/ash/shelf/app_list_button.cc#oldcode80 ash/shelf/app_list_button.cc:80: host_->MouseMovedOverButton(this); On 2016/03/23 17:53:03, ...
4 years, 9 months ago (2016-03-23 18:58:01 UTC) #19
sky
LGTM https://codereview.chromium.org/1816753002/diff/80001/ash/shelf/app_list_button.cc File ash/shelf/app_list_button.cc (left): https://codereview.chromium.org/1816753002/diff/80001/ash/shelf/app_list_button.cc#oldcode80 ash/shelf/app_list_button.cc:80: host_->MouseMovedOverButton(this); On 2016/03/23 18:58:01, msw wrote: > On ...
4 years, 9 months ago (2016-03-23 21:35:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816753002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816753002/100001
4 years, 9 months ago (2016-03-23 23:05:59 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-23 23:48:59 UTC) #24
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 23:50:44 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e9d901efb5bc6bbf434ac67b70f90e9ef73419d8
Cr-Commit-Position: refs/heads/master@{#382976}

Powered by Google App Engine
This is Rietveld 408576698