Closed
Bug 931155
Opened 13 years ago
Closed 12 years ago
[Camera][API] Remove pictureSize from CameraPictureOptions
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
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.
| Assignee | ||
Comment 2•12 years ago
|
||
(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)
| Assignee | ||
Comment 3•12 years ago
|
||
Check that: if .pictureSize is no longer set in the dictionary, then I can post a patch here to remove it from the WebIDL.
Comment 4•12 years ago
|
||
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)
| Assignee | ||
Comment 5•12 years ago
|
||
(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
| Assignee | ||
Updated•12 years ago
|
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.
Description
•