Closed
Bug 708273
Opened 13 years ago
Closed 13 years ago
Add "Save Image" to context menu on images in content
Categories
(Firefox for Android Graveyard :: General, defect, P4)
Tracking
(firefox11 verified, firefox12 verified)
VERIFIED
FIXED
Firefox 11
People
(Reporter: madhava, Assigned: wesj)
Details
(Whiteboard: [inbound][QA!])
Attachments
(1 file)
|
5.31 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
We should let people long tap on images and save them to the Android Gallery.
Updated•13 years ago
|
Priority: -- → P4
Updated•13 years ago
|
OS: Mac OS X → Android
Hardware: x86 → ARM
| Assignee | ||
Comment 1•13 years ago
|
||
Patch
Assignee: nobody → wjohnston
Attachment #582746 -
Flags: review?(mark.finkle)
Comment 2•13 years ago
|
||
Comment on attachment 582746 [details] [diff] [review]
patch
>diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js
> init: function() {
> this.textContext = this.SelectorContext("input[type='text'],input[type='password'],textarea");
> this.linkContext = this.SelectorContext("a:not([href='']),area:not([href='']),link");
>+ this.imageContext = this.SelectorContext("img");
> Services.obs.addObserver(this, "Gesture:LongPress", false);
Add a blank line before the Services line
> // TODO: These should eventually move into more appropriate classes
Yes, they really should. ContextHelper or something. Sooner the better.
> });
>+ this.add(Strings.browser.GetStringFromName("contextmenu.saveImage"),
Add a blank line separator
>+ function(aTarget) {
>+ var contentDisposition = "";
>+ var type = "";
let
>+ var browser = BrowserApp.getBrowserForDocument(aTarget.ownerDocument);
let
>+ ContentAreaUtils.internalSave(aTarget.currentURI.spec, null, null,
>+ contentDisposition,
>+ type,
>+ false, "SaveImageTitle",
>+ null, browser.documentURI, true, null);
Try one line (this ain't java!)
r+ with nits fixed
Attachment #582746 -
Flags: review?(mark.finkle) → review+
Comment 3•13 years ago
|
||
Comment on attachment 582746 [details] [diff] [review]
patch
changed the summary to something boring, but not incorrect
Attachment #582746 -
Attachment description: Widget Patch 2/3 - Prevent Default stuff → patch
| Assignee | ||
Comment 4•13 years ago
|
||
Whiteboard: [inbound]
Updated•13 years ago
|
Flags: in-litmus?(fennec)
Whiteboard: [inbound] → [inbound][QA+]
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 6•13 years ago
|
||
It missed the Firefox 11 release for a few hours.
Version: unspecified → Firefox 12
Updated•13 years ago
|
Whiteboard: [inbound][QA+] → [inbound][QA+][fennec-aurora]
Comment 7•13 years ago
|
||
May be I am wrong about the Firefox 11 target because this changeset is between:
* The latest changeset in 11.0a1/20111220: http://hg.mozilla.org/mozilla-central/rev/2afd7ae68e8b.
* The first changeset in 11.0a2/20111220: http://hg.mozilla.org/mozilla-central/rev/a8506ab2c654
Comment 8•13 years ago
|
||
(In reply to Scoobidiver from comment #6)
> It missed the Firefox 11 release for a few hours.
Nope, it made it into Aurora with the rest of the Firefox 11 merge: http://hg.mozilla.org/releases/mozilla-aurora/rev/a1a8c14cc2a4
Target Milestone: --- → Firefox 11
Version: Firefox 12 → Firefox 11
Comment 9•13 years ago
|
||
Build ID: Mozilla/5.0 (Android; Linux armv7l; rv:11.0a2) Gecko/20111222 Firefox/11.0a2 Fennec/11.0a2
Mozilla/5.0 (Android; Linux armv7l; rv:12.0a1) Gecko/20111222 Firefox/12.0a1 Fennec/12.0a1
Device: Samsung Nexus S
OS: Android 2.3
Verified aurora ans nightly
Status: RESOLVED → VERIFIED
Whiteboard: [inbound][QA+][fennec-aurora] → [inbound][QA+][veified fennec-aurora]
Updated•13 years ago
|
Whiteboard: [inbound][QA+][veified fennec-aurora] → [inbound][QA+][verified fennec-aurora]
Updated•13 years ago
|
status-firefox11:
--- → verified
status-firefox12:
--- → verified
Whiteboard: [inbound][QA+][verified fennec-aurora] → [inbound][QA+]
Comment 10•13 years ago
|
||
Test case updated: https://litmus.mozilla.org/show_test.cgi?id=33638
Flags: in-litmus?(fennec) → in-litmus+
Whiteboard: [inbound][QA+] → [inbound][QA!]
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•