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

Issue 2806743003: Image Capture: split {white_balance,exposure,focus}_modes into current_ and supported_ (Closed)

Created:
3 years, 8 months ago by mcasas
Modified:
3 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, haraken, Aaron Boodman, mcasas+imagecapture_chromium.org, blink-reviews, xjz+watch_chromium.org, darin (slow to review), miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Image Capture: split {white_balance,exposure,focus}_mode into current_ and supported_ |This CL splits mojo |{white_balance,exposure,focus}_mode| into |current_{white_balance,exposure,focus}_mode| and an array of |supported_{white_balance,exposure,focus}_modes|. The |current_...| versions are essentially the same as the previous variables, with a twist: if there are no |supported_...| entries, then there can be no |current_...|. (This prevents the capabilities dictionary from having superfluous entries). LayoutTests, Fake capture device and V4L2 implementations are updated. (Will do the Android parts in another CL to ease review). Also I reordered the fields of mock-imagecapture.js |state_| to match .mojom definition order because it was driving me nuts to compare both :-) BUG=700607 Review-Url: https://codereview.chromium.org/2806743003 Cr-Commit-Position: refs/heads/master@{#463116} Committed: https://chromium.googlesource.com/chromium/src/+/7aafd1384fd8c6dc46d85d0cec98e85c480bd464

Patch Set 1 : #

Total comments: 4

Patch Set 2 : reillyg@ comment and fix in v4l2_capture_delegate.cc #

Messages

Total messages: 20 (13 generated)
mcasas
reillyg@ PTAL tsepez@ RS plz the additions to image_capture.mojom (Almost there! Just one or two ...
3 years, 8 months ago (2017-04-07 23:36:44 UTC) #10
Tom Sepez
RS LGTM
3 years, 8 months ago (2017-04-07 23:38:23 UTC) #11
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2806743003/diff/80001/media/capture/video/linux/v4l2_capture_delegate.cc File media/capture/video/linux/v4l2_capture_delegate.cc (right): https://codereview.chromium.org/2806743003/diff/80001/media/capture/video/linux/v4l2_capture_delegate.cc#newcode557 media/capture/video/linux/v4l2_capture_delegate.cc:557: if (RunIoctl(device_fd_.get(), VIDIOC_QUERYCTRL, &manual_focus_ctrl)) This function didn't previously use ...
3 years, 8 months ago (2017-04-08 00:30:52 UTC) #12
mcasas
ptal https://codereview.chromium.org/2806743003/diff/80001/media/capture/video/linux/v4l2_capture_delegate.cc File media/capture/video/linux/v4l2_capture_delegate.cc (right): https://codereview.chromium.org/2806743003/diff/80001/media/capture/video/linux/v4l2_capture_delegate.cc#newcode557 media/capture/video/linux/v4l2_capture_delegate.cc:557: if (RunIoctl(device_fd_.get(), VIDIOC_QUERYCTRL, &manual_focus_ctrl)) On 2017/04/08 00:30:52, Reilly ...
3 years, 8 months ago (2017-04-08 00:50:47 UTC) #13
Reilly Grant (use Gerrit)
lgtm
3 years, 8 months ago (2017-04-08 00:56:44 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/2806743003/100001
3 years, 8 months ago (2017-04-08 02:24:09 UTC) #17
commit-bot: I haz the power
3 years, 8 months ago (2017-04-08 03:04:15 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/7aafd1384fd8c6dc46d85d0cec98...

Powered by Google App Engine
This is Rietveld 408576698