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

Issue 2124363003: ImageCapture: Implement focus mode for Android and Fake Video Capture Devices (Closed)

Created:
4 years, 5 months ago by mcasas
Modified:
4 years, 5 months ago
CC:
Aaron Boodman, abarth-chromium, alokp+watch_chromium.org, ben+mojo_chromium.org, blink-reviews, chromium-reviews, darin (slow to review), feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, posciak+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ImageCapture: Implement focus mode for Android and Fake Video Capture Devices This CL extends the PhotoCapabilities.idl to have support for |focusMode|, and wires it down to the three current implementations: Fake and Android VideoCaptureDevices in browser. This forces adding file modules/imagecapture/PhotoCapabilities.cpp. FocusMode is defined here: https://w3c.github.io/mediacapture-image/index.html#idl-def-FocusMode BUG=518807 Committed: https://crrev.com/71d68be150e06917c61429a2f63ee6793e1c2e8c Cr-Commit-Position: refs/heads/master@{#405414}

Patch Set 1 #

Total comments: 4

Patch Set 2 : reillyg@ comments #

Total comments: 4

Patch Set 3 : reillyg@s nit, dcheng@ comment and updated webexposed/global-interface-listing-expected.txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -21 lines) Patch
M media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java View 1 2 1 chunk +10 lines, -1 line 0 comments Download
M media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java View 1 chunk +18 lines, -7 lines 0 comments Download
M media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java View 1 chunk +6 lines, -1 line 0 comments Download
M media/capture/video/android/photo_capabilities.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/capture/video/android/photo_capabilities.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M media/capture/video/android/video_capture_device_android.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M media/capture/video/fake_video_capture_device.cc View 1 chunk +1 line, -0 lines 0 comments Download
M media/capture/video/fake_video_capture_device_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M media/mojo/interfaces/image_capture.mojom View 1 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h View 1 2 2 chunks +9 lines, -10 lines 0 comments Download
A third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.cpp View 1 1 chunk +44 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl View 1 chunk +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
mcasas
reillyg@ PTAL
4 years, 5 months ago (2016-07-08 23:07:31 UTC) #3
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2124363003/diff/1/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java File media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java (right): https://codereview.chromium.org/2124363003/diff/1/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java#newcode578 media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java:578: || (focusMode == CameraMetadata.CONTROL_AF_MODE_EDOF); It seems to me that ...
4 years, 5 months ago (2016-07-09 00:06:31 UTC) #4
mcasas
https://codereview.chromium.org/2124363003/diff/1/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java File media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java (right): https://codereview.chromium.org/2124363003/diff/1/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java#newcode578 media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java:578: || (focusMode == CameraMetadata.CONTROL_AF_MODE_EDOF); On 2016/07/09 00:06:31, Reilly Grant ...
4 years, 5 months ago (2016-07-09 01:45:59 UTC) #5
Reilly Grant (use Gerrit)
lgtm with nit https://codereview.chromium.org/2124363003/diff/20001/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java File media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java (right): https://codereview.chromium.org/2124363003/diff/20001/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java#newcode39 media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java:39: @CalledByNative nit: space between functions
4 years, 5 months ago (2016-07-11 18:21:51 UTC) #6
mcasas
dcheng@ PTAL (notwithstanding reillyg@s nit)
4 years, 5 months ago (2016-07-11 22:42:34 UTC) #8
dcheng
https://codereview.chromium.org/2124363003/diff/20001/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h File third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h (right): https://codereview.chromium.org/2124363003/diff/20001/third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h#newcode35 third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h:35: media::mojom::blink::FocusMode m_focusMode; Does the new field need to be ...
4 years, 5 months ago (2016-07-12 04:24:59 UTC) #9
mcasas
dcheng@ PTAL foolip@ RS Source/modules changes plz https://codereview.chromium.org/2124363003/diff/20001/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java File media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java (right): https://codereview.chromium.org/2124363003/diff/20001/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java#newcode39 media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java:39: @CalledByNative On ...
4 years, 5 months ago (2016-07-12 15:32:12 UTC) #11
dcheng
mojom lgtm
4 years, 5 months ago (2016-07-13 14:05:19 UTC) #12
mcasas
haraken@ RS WebKit/Source/modules/imagecapture/* please
4 years, 5 months ago (2016-07-13 16:03:48 UTC) #14
haraken
On 2016/07/13 16:03:48, mcasas wrote: > haraken@ RS WebKit/Source/modules/imagecapture/* please LGTM
4 years, 5 months ago (2016-07-13 23:53:26 UTC) #15
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/2124363003/40001
4 years, 5 months ago (2016-07-14 00:07:08 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-14 02:45:12 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 02:45:14 UTC) #21
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 02:48:25 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/71d68be150e06917c61429a2f63ee6793e1c2e8c
Cr-Commit-Position: refs/heads/master@{#405414}

Powered by Google App Engine
This is Rietveld 408576698