Closed Bug 931155 Opened 13 years ago Closed 12 years ago

[Camera][API] Remove pictureSize from CameraPictureOptions

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1004567

People

(Reporter: mikeh, Assigned: mikeh)

References

Details

Once camera.js has been updated to use the new .pictureSize and .thumbnailSize properties, we can remove this (redundant) option from the takePicture() function.
Can we close this bug?
Flags: needinfo?(mhabicher)
(In reply to Diego Marcos [:dmarcos] from comment #1) > > Can we close this bug? If the CameraPictureOptions dictionary passed into takePicture() no longer sets .pictureSize, then yes.
Flags: needinfo?(mhabicher) → needinfo?(dmarcos)
Check that: if .pictureSize is no longer set in the dictionary, then I can post a patch here to remove it from the WebIDL.
Just to make sure I understand. Passing the pictureSize to the takePicture method is no longer necessary, right? We still pass the value and I want to check with you before removing it
Flags: needinfo?(dmarcos)
(In reply to Diego Marcos [:dmarcos] from comment #4) > Just to make sure I understand. Passing the pictureSize to the takePicture > method is no longer necessary, right? We still pass the value and I want to > check with you before removing it That's correct. As of bug 987954, you can just call CameraControl.getPictureSize() and .setPictureSize(...). That patch also added .getThumbnailSize() and .setThumbnailSize(...). http://hg.mozilla.org/mozilla-central/annotate/a4dcfbebcb58/dom/webidl/CameraControl.webidl#l252
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.