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

Issue 2499453002: Add ink drop ripple to overview mode button (Closed)

Created:
4 years, 1 month ago by mohsen
Modified:
4 years, 1 month ago
CC:
bruthig+ink_drop_chromium.org, chromium-reviews, dcheng, kalyank, nona+watch_chromium.org, oshima+watch_chromium.org, sadrul, shuchen+watch_chromium.org, tfarina, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ink drop ripple to overview mode button TrayBackgroundView is updated to create appropriate ink drop ripple and highlight instances when needed. This needed a way for ActionableView to let its subclasses (i.e. TrayBackgroundView here) have control on ripple state based on PerformAction() result. Any subclass of TrayBackgroundView that needs ink drop can just enable ink drop mode and everything should work in most cases. BUG=612579 TEST=manually run TouchView Ash with --ash-md=experimental and try ripples on overview mode button. Committed: https://crrev.com/4614a8ceb7ce5ba9eb6eedeb5c4683768c2b8b11 Cr-Commit-Position: refs/heads/master@{#431885}

Patch Set 1 #

Patch Set 2 : Fixed crash when there is no window #

Total comments: 10

Patch Set 3 : Addressed review comments #

Total comments: 10

Patch Set 4 : Addressed review comments #

Patch Set 5 : Reordered some functions #

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -114 lines) Patch
M ash/common/system/chromeos/ime_menu/ime_menu_tray.cc View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_tray.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/system/overview/overview_button_tray.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/system/overview/overview_button_tray.cc View 1 2 3 chunks +11 lines, -6 lines 0 comments Download
M ash/common/system/tray/actionable_view.h View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M ash/common/system/tray/actionable_view.cc View 1 2 3 4 5 5 chunks +12 lines, -9 lines 0 comments Download
M ash/common/system/tray/system_tray.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M ash/common/system/tray/system_tray_unittest.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M ash/common/system/tray/tray_background_view.h View 1 2 3 4 5 chunks +20 lines, -12 lines 0 comments Download
M ash/common/system/tray/tray_background_view.cc View 1 2 3 4 11 chunks +95 lines, -38 lines 0 comments Download
M ash/common/system/web_notification/web_notification_tray.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/common/wm/overview/window_selector_controller.h View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M ash/common/wm/overview/window_selector_controller.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M ash/system/overview/overview_button_tray_unittest.cc View 1 2 1 chunk +6 lines, -7 lines 0 comments Download
M ash/system/web_notification/web_notification_tray_unittest.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/user_switch_util_unittest.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M ui/views/animation/ink_drop_host_view.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_impl.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_impl_unittest.cc View 1 2 3 4 5 3 chunks +19 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 40 (28 generated)
mohsen
Please take a look...
4 years, 1 month ago (2016-11-10 23:21:54 UTC) #5
bruthig
lgtm with a couple of nits and a request for a test. Feel free to ...
4 years, 1 month ago (2016-11-11 17:30:40 UTC) #12
mohsen
tdanderson@: Can you please take a look... https://codereview.chromium.org/2499453002/diff/20001/ash/common/system/overview/overview_button_tray.cc File ash/common/system/overview/overview_button_tray.cc (right): https://codereview.chromium.org/2499453002/diff/20001/ash/common/system/overview/overview_button_tray.cc#newcode76 ash/common/system/overview/overview_button_tray.cc:76: controller->ToggleOverview(); On ...
4 years, 1 month ago (2016-11-11 22:37:24 UTC) #14
mohsen
+varkha@ for OWNERS in /ash/common/wm/ and /ash/wm/ +skuhne@ for OWNERS in /ash/system/ and /chrome/browser/ui/ash/multi_user/
4 years, 1 month ago (2016-11-11 23:07:53 UTC) #18
tdanderson
ash/common/system LGTM with nits. https://codereview.chromium.org/2499453002/diff/40001/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc File ash/common/system/chromeos/ime_menu/ime_menu_tray.cc (right): https://codereview.chromium.org/2499453002/diff/40001/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc#newcode7 ash/common/system/chromeos/ime_menu/ime_menu_tray.cc:7: #include "ash/common/accessibility_delegate.h" nit: can you ...
4 years, 1 month ago (2016-11-12 02:18:58 UTC) #21
mohsen
https://codereview.chromium.org/2499453002/diff/40001/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc File ash/common/system/chromeos/ime_menu/ime_menu_tray.cc (right): https://codereview.chromium.org/2499453002/diff/40001/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc#newcode7 ash/common/system/chromeos/ime_menu/ime_menu_tray.cc:7: #include "ash/common/accessibility_delegate.h" On 2016/11/12 at 02:18:58, tdanderson wrote: > ...
4 years, 1 month ago (2016-11-13 05:10:04 UTC) #23
Mr4D (OOO till 08-26)
c/b/u/a/multi_user lgtm
4 years, 1 month ago (2016-11-14 15:18:30 UTC) #32
Mr4D (OOO till 08-26)
Oh - also lgtm for the maximize_mode changes.
4 years, 1 month ago (2016-11-14 15:21:31 UTC) #33
varkha
ash/common/wm/ LGTM.
4 years, 1 month ago (2016-11-14 17:54:29 UTC) #34
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/2499453002/100001
4 years, 1 month ago (2016-11-14 18:21:21 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-14 19:08:53 UTC) #38
commit-bot: I haz the power
4 years, 1 month ago (2016-11-14 19:34:54 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4614a8ceb7ce5ba9eb6eedeb5c4683768c2b8b11
Cr-Commit-Position: refs/heads/master@{#431885}

Powered by Google App Engine
This is Rietveld 408576698