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

Issue 2506583005: Hide dismiss button on toast when doing partial screenshot using stylus tools. (Closed)

Created:
4 years, 1 month ago by jdufault
Modified:
4 years ago
Reviewers:
yoshiki, stevenjb
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide dismiss button on toast when doing partial screenshot using stylus tools. Users click the toast dismiss button using the stylus, which takes a screenshot instead of actually dismissing the toast. Since the toast is relatively short (2.5s), hiding the dismiss button should be fine. BUG=665630 Committed: https://crrev.com/a30f7c13368b199d06079d313086553f26509342 Cr-Commit-Position: refs/heads/master@{#432977}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -37 lines) Patch
M ash/common/system/chromeos/palette/tools/capture_region_mode.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/toast/toast_data.h View 2 chunks +4 lines, -2 lines 0 comments Download
M ash/common/system/toast/toast_data.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ash/common/system/toast/toast_overlay.h View 3 chunks +7 lines, -3 lines 0 comments Download
M ash/common/system/toast/toast_overlay.cc View 1 5 chunks +36 lines, -24 lines 0 comments Download
M ash/system/toast/toast_manager_unittest.cc View 3 chunks +23 lines, -6 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
jdufault
yoshiki@ PTAL. Thanks!
4 years, 1 month ago (2016-11-15 23:13:50 UTC) #7
yoshiki
lgtm. Thanks! https://codereview.chromium.org/2506583005/diff/1/ash/common/system/toast/toast_overlay.cc File ash/common/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/2506583005/diff/1/ash/common/system/toast/toast_overlay.cc#newcode308 ash/common/system/toast/toast_overlay.cc:308: overlay_view_->button()->NotifyClick(event); nit: Could you add DCHECK(overlay_view_->button()) in ...
4 years, 1 month ago (2016-11-16 04:22:45 UTC) #8
jdufault
https://codereview.chromium.org/2506583005/diff/1/ash/common/system/toast/toast_overlay.cc File ash/common/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/2506583005/diff/1/ash/common/system/toast/toast_overlay.cc#newcode308 ash/common/system/toast/toast_overlay.cc:308: overlay_view_->button()->NotifyClick(event); On 2016/11/16 04:22:45, yoshiki wrote: > nit: Could ...
4 years, 1 month ago (2016-11-16 19:13:57 UTC) #11
jdufault
stevenjb@ PTAL a quick look, need owner lgtm.
4 years, 1 month ago (2016-11-16 19:14:39 UTC) #13
stevenjb
lgtm
4 years, 1 month ago (2016-11-16 20:59:27 UTC) #14
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/2506583005/20001
4 years, 1 month ago (2016-11-16 21:58:29 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/274086)
4 years, 1 month ago (2016-11-17 01:52:24 UTC) #20
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/2506583005/20001
4 years, 1 month ago (2016-11-17 18:50:05 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-17 21:48:28 UTC) #24
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/a30f7c13368b199d06079d313086553f26509342 Cr-Commit-Position: refs/heads/master@{#432977}
4 years, 1 month ago (2016-11-17 21:51:51 UTC) #26
stgao
4 years ago (2016-11-21 19:57:40 UTC) #27
Message was sent while issue was closed.
FYI: this CL seems to introduce a new flaky test
ToastManagerTest.NullMessageHasNoDismissButton

https://findit-for-me.appspot.com/waterfall/check-flake?master_name=chromium....
(Note: Findit got it wrong with build 54817, but the CL was first included in
build 54809)


One occurrence on Waterfall is
https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20(dbg)(1)/bu...

Powered by Google App Engine
This is Rietveld 408576698