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

Issue 515573002: Use active state on touch start for tray icons (Closed)

Created:
6 years, 3 months ago by jonross
Modified:
6 years, 3 months ago
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org, oshima
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adds touch feedback to tray icons in touchview when --ash-enable-touchview-touch-feedback flag is passed. TEST=WebNotificationTrayTest.MAYBE_NoTouchFeedback, WebNotificationTrayTest.MAYBE_MaximizeModeTouchFeedback, WebNotificationTrayTest.MAYBE_TouchFeedbackCancellation BUG=398398 Committed: https://crrev.com/367a1bee843f70e3cf6e3ea439e6b1711d80f059 Cr-Commit-Position: refs/heads/master@{#293608}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Implement Touch Feedback on TrayBackgroundView #

Total comments: 10

Patch Set 3 : #

Patch Set 4 : Remove Maximize Mode Dependency #

Total comments: 9

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Total comments: 6

Patch Set 7 : #

Total comments: 7

Patch Set 8 : #

Patch Set 9 : Update test histogram #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -2 lines) Patch
M ash/ash_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_switches.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M ash/system/overview/overview_button_tray.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M ash/system/tray/tray_background_view.h View 1 2 3 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M ash/system/tray/tray_background_view.cc View 1 2 3 4 5 6 7 6 chunks +22 lines, -0 lines 0 comments Download
M ash/system/web_notification/web_notification_tray_unittest.cc View 1 2 3 4 5 6 7 4 chunks +81 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 35 (8 generated)
jonross
jonross@chromium.org changed reviewers: + flackr@chromium.org
6 years, 3 months ago (2014-08-27 15:22:36 UTC) #1
jonross
Hey Rob, This review adds a flag for all of the upcoming TouchView touch feedback ...
6 years, 3 months ago (2014-08-27 15:22:36 UTC) #2
flackr
Can we land this as part of the first patch to land some of this ...
6 years, 3 months ago (2014-08-27 18:35:31 UTC) #3
jonross
I have added an implementation of touch feedback to TrayBackgroundView. This will allow the trays ...
6 years, 3 months ago (2014-08-28 21:41:40 UTC) #4
flackr
Can you update the description to be about the touch feedback? The addition of the ...
6 years, 3 months ago (2014-08-29 15:34:10 UTC) #5
jonross
https://codereview.chromium.org/515573002/diff/20001/ash/ash_switches.h File ash/ash_switches.h (right): https://codereview.chromium.org/515573002/diff/20001/ash/ash_switches.h#newcode36 ash/ash_switches.h:36: #if defined(OS_CHROMEOS) On 2014/08/29 15:34:10, flackr wrote: > why ...
6 years, 3 months ago (2014-08-29 17:20:21 UTC) #6
jonross
Updated to reflect not restricting touch feedback to maximize mode.
6 years, 3 months ago (2014-09-02 14:25:28 UTC) #7
flackr
https://codereview.chromium.org/515573002/diff/20001/ash/ash_switches.h File ash/ash_switches.h (right): https://codereview.chromium.org/515573002/diff/20001/ash/ash_switches.h#newcode36 ash/ash_switches.h:36: #if defined(OS_CHROMEOS) On 2014/08/29 17:20:21, jonross wrote: > On ...
6 years, 3 months ago (2014-09-03 13:42:07 UTC) #8
jonross
https://codereview.chromium.org/515573002/diff/20001/ash/ash_switches.h File ash/ash_switches.h (right): https://codereview.chromium.org/515573002/diff/20001/ash/ash_switches.h#newcode36 ash/ash_switches.h:36: #if defined(OS_CHROMEOS) On 2014/09/03 13:42:07, flackr wrote: > On ...
6 years, 3 months ago (2014-09-03 15:48:21 UTC) #9
flackr
https://codereview.chromium.org/515573002/diff/80001/ash/system/tray/tray_background_view.cc File ash/system/tray/tray_background_view.cc (right): https://codereview.chromium.org/515573002/diff/80001/ash/system/tray/tray_background_view.cc#newcode433 ash/system/tray/tray_background_view.cc:433: HasSwitch(switches::kAshEnableTouchViewTouchFeedback)) { Curious, does this introduce any perf hit? ...
6 years, 3 months ago (2014-09-03 16:41:44 UTC) #10
jonross
https://codereview.chromium.org/515573002/diff/80001/ash/system/tray/tray_background_view.cc File ash/system/tray/tray_background_view.cc (right): https://codereview.chromium.org/515573002/diff/80001/ash/system/tray/tray_background_view.cc#newcode433 ash/system/tray/tray_background_view.cc:433: HasSwitch(switches::kAshEnableTouchViewTouchFeedback)) { On 2014/09/03 16:41:44, flackr wrote: > Curious, ...
6 years, 3 months ago (2014-09-03 18:51:44 UTC) #11
flackr
LGTM with nits https://codereview.chromium.org/515573002/diff/100001/ash/ash_switches.cc File ash/ash_switches.cc (right): https://codereview.chromium.org/515573002/diff/100001/ash/ash_switches.cc#newcode69 ash/ash_switches.cc:69: // Enables additional visual feedback to ...
6 years, 3 months ago (2014-09-03 21:44:35 UTC) #12
jonross
Hi Oshima, I've begun adding visual feedback for touch events. In this review I modify ...
6 years, 3 months ago (2014-09-04 15:17:03 UTC) #14
oshima
On 2014/09/04 15:17:03, jonross wrote: > Hi Oshima, > > I've begun adding visual feedback ...
6 years, 3 months ago (2014-09-04 18:35:54 UTC) #15
jonross
Hi Stefan, Oshima has asked that I get an owner from ash/system for this review. ...
6 years, 3 months ago (2014-09-04 18:40:13 UTC) #17
Mr4D (OOO till 08-26)
Please see comments! https://codereview.chromium.org/515573002/diff/120001/ash/system/overview/overview_button_tray.cc File ash/system/overview/overview_button_tray.cc (right): https://codereview.chromium.org/515573002/diff/120001/ash/system/overview/overview_button_tray.cc#newcode60 ash/system/overview/overview_button_tray.cc:60: SetDrawBackgroundAsActive(controller->IsSelecting()); Shouldn't this command also be ...
6 years, 3 months ago (2014-09-04 19:58:35 UTC) #18
jonross
https://codereview.chromium.org/515573002/diff/120001/ash/system/overview/overview_button_tray.cc File ash/system/overview/overview_button_tray.cc (right): https://codereview.chromium.org/515573002/diff/120001/ash/system/overview/overview_button_tray.cc#newcode60 ash/system/overview/overview_button_tray.cc:60: SetDrawBackgroundAsActive(controller->IsSelecting()); On 2014/09/04 19:58:35, Mr4D wrote: > Shouldn't this ...
6 years, 3 months ago (2014-09-05 16:31:49 UTC) #19
Mr4D (OOO till 08-26)
lgtm https://codereview.chromium.org/515573002/diff/120001/ash/system/overview/overview_button_tray.cc File ash/system/overview/overview_button_tray.cc (right): https://codereview.chromium.org/515573002/diff/120001/ash/system/overview/overview_button_tray.cc#newcode60 ash/system/overview/overview_button_tray.cc:60: SetDrawBackgroundAsActive(controller->IsSelecting()); I think that should be fine.
6 years, 3 months ago (2014-09-05 16:38:58 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jonross@chromium.org/515573002/140001
6 years, 3 months ago (2014-09-05 16:43:19 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/11371)
6 years, 3 months ago (2014-09-05 18:16:55 UTC) #24
jonross
Hi Alexei, I am adding a new startup flag for testing touch feedback in ChromeOS. ...
6 years, 3 months ago (2014-09-05 19:54:04 UTC) #26
Alexei Svitkine (slow)
lgtm
6 years, 3 months ago (2014-09-05 19:57:32 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jonross@chromium.org/515573002/160001
6 years, 3 months ago (2014-09-05 21:08:17 UTC) #29
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 03:10:35 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jonross@chromium.org/515573002/160001
6 years, 3 months ago (2014-09-06 12:08:09 UTC) #33
commit-bot: I haz the power
Committed patchset #9 (id:160001) as d333dbc26a2566cfa3c82972a24047e828e9d09b
6 years, 3 months ago (2014-09-06 12:38:01 UTC) #34
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:42:19 UTC) #35
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/367a1bee843f70e3cf6e3ea439e6b1711d80f059
Cr-Commit-Position: refs/heads/master@{#293608}

Powered by Google App Engine
This is Rietveld 408576698