commit | 550c8f6fecf6e877e99b2f5fe502b4cf19c74346 | [log] [tgz] |
---|---|---|
author | Michele Fan <michelefan@chromium.org> | Wed Feb 09 22:52:44 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 09 22:52:44 2022 |
tree | 4350b5ca67a7449041f7edbf225933e9dd45038c | |
parent | 461ad1b0559a872f30c5eeaee2f432659cb71fc0 [diff] |
capture_selfie_cam: Hook SetShouldShowPreview() to the callers This CL adds the logic to hook SetShouldShowPreview() to the callers. It needs to be set to true when CaptureModeSession is started and switched to a video recording mode before recording starts. It needs to be set to false when: 1. Video recording ends; 2. The capture mode session ends without starting any recording; 3. The capture mode session is switched to an image capture mode. Bug: 1293467 Test: Added a new test Change-Id: I191fa7c9b6612b395cdf904814f4e48eec8e32f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440911 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@{#969161}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.