Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "capture-selfie-cam: Show resize button conditionally"
This reverts commit 5255bb4. Reason for revert: This revert was reverted by mistake. The actual culprit is https://crbug.com/1313907 and https://chromium-review.googlesource.com/c/chromium/src/+/3560979/comments/8a2df609_af8457fb. Original change's description: > Revert "capture-selfie-cam: Show resize button conditionally" > > This reverts commit 187b3b7. > > Reason for revert: Suspected test failures in Linux ChromiumOS MSan Tests (https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20ChromiumOS%20MSan%20Tests/27254/test-results) > > Original change's description: > > capture-selfie-cam: Show resize button conditionally > > > > Per UX specs mentioned in crbug.com/1308919, the resize button should be > > hidden by default and only show on mouse hover or tap. When the mouse > > exits the preview widget or after tapping on the preview widget, the > > resize button will stay visible for a predefined duration i.e. 4.5s and > > gets hidden. Animation is added in the appear and disappear process to > > show the fading effects. > > Demo video: > > https://bugs.chromium.org/p/chromium/issues/detail?id=1308919#c5 > > > > Follow-up CL: > > The resize button should always show when switch access is enabled. > > (Need to get PM and UX's feedback) > > > > Bug: 1308919 > > Test: Added tests + manually test > > > > Change-Id: Ib38e114696a1b20aeaf9d82afd636cbc5ec5b55b > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3561708 > > Reviewed-by: Min Chen <minch@chromium.org> > > Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> > > Commit-Queue: Michele Fan <michelefan@chromium.org> > > Cr-Commit-Position: refs/heads/main@{#989619} > > Bug: 1308919 > Change-Id: Ibabcde5c8754dd04c575753a09ff597a1fea2956 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3576536 > Owners-Override: Kristi Park <kristipark@google.com> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Commit-Queue: Kristi Park <kristipark@google.com> > Cr-Commit-Position: refs/heads/main@{#989989} Bug: 1308919 Change-Id: Ibced1788efcf4e39370d2e925037c6b14e59a37a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3576539 Auto-Submit: Ahmed Fakhry <afakhry@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Reviewed-by: Min Chen <minch@chromium.org> Commit-Queue: Min Chen <minch@chromium.org> Cr-Commit-Position: refs/heads/main@{#990039}
- Loading branch information
Ahmed Fakhry
authored and
Chromium LUCI CQ
committed
Apr 7, 2022
1 parent
b1f727b
commit 4df42ba
Showing
4 changed files
with
214 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters