Chromium Code Reviews
DescriptionRELAND: 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. #
Messages
Total messages: 12 (10 generated)
|
||||||||||||||||||||||||||||