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

Issue 2884513002: RELAND: Image Capture: wire setPhotoOptions() for Win (Closed)

Created:
3 years, 7 months ago by mcasas
Modified:
3 years, 7 months ago
Reviewers:
CC:
chromium-reviews, posciak+watch_chromium.org, chfremer+watch_chromium.org, feature-media-reviews_chromium.org, xjz+watch_chromium.org, mfoltz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

RELAND: Image Capture: wire setPhotoOptions() for Win Original CL got reverted due to constructions like: if (bla) { HRESULT hr = foo(); DLOG_IF_FAILED_WITH_HRESULT("bla", hr) } which caused an error in the waterfall bots (not in the CQ) because of |hr| going unused. This CL corrects this. Original CL description ------------------------------------------------ This CL wires the photo capabilities setPhotoOptions() method: - |camera_control_| and |video_control_| are made member variables, which forces trivial updates to the lambdas. - most of the controls are straightforward except white balance and exposure: those have a 'manual' and 'auto' that enable the use of |color_temperature| and |exposure_compensation|, resp. Since either of them can be configured in subsequent setPhotoOptions() cycles, we need member flags to keep the manual/auto state. BUG=657128 Review-Url: https://codereview.chromium.org/2873143002 Cr-Commit-Position: refs/heads/master@{#471554} Committed: https://chromium.googlesource.com/chromium/src/+/86adb2c88ba82194458ac09d078a00616c0b22dd patch from issue 2873143002 at patchset 80001 (http://crrev.com/2873143002#ps80001) TBR=robliao@chromium.org Review-Url: https://codereview.chromium.org/2884513002 Cr-Commit-Position: refs/heads/master@{#471623} Committed: https://chromium.googlesource.com/chromium/src/+/7bda7a4b1a6b2866538f903e06824500894d7d61

Patch Set 1 : Verbatim https://crrev.com/2873143002 #

Patch Set 2 : Fixed use of HRESULT hr. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -80 lines) Patch
M media/capture/video/win/video_capture_device_win.h View 3 chunks +11 lines, -0 lines 0 comments Download
M media/capture/video/win/video_capture_device_win.cc View 1 7 chunks +170 lines, -80 lines 0 comments Download

Messages

Total messages: 12 (10 generated)
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/2884513002/20001
3 years, 7 months ago (2017-05-14 07:04:17 UTC) #8
commit-bot: I haz the power
3 years, 7 months ago (2017-05-14 08:24:12 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/7bda7a4b1a6b2866538f903e0682...

Powered by Google App Engine
This is Rietveld 408576698