Closed Bug 877469 Opened 12 years ago Closed 12 years ago

Add "Switch to Tab" functionality to BookmarksPage

Categories

(Firefox for Android Graveyard :: Theme and Visual Design, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 26

People

(Reporter: sriram, Assigned: sriram)

References

Details

(Whiteboard: fixed-fig)

Attachments

(1 file)

Switch to Tab was removed by Bug 862796. Add it back to bookmarks-page.
Blocks: 862796
Depends on: 877468
This shows an icon if there is an url already opened.
Attachment #760658 - Flags: review?(lucasr.at.mozilla)
Comment on attachment 760658 [details] [diff] [review] Part 1: Show the icon Review of attachment 760658 [details] [diff] [review]: ----------------------------------------------------------------- The reliance on the Tabs singleton all over the place is a bit unfortunate. But I guess this has to be fixed in a separate bug. ::: mobile/android/base/Tabs.java @@ +604,5 @@ > + * @return true if the url is open currently, false otherwise. > + */ > + public boolean hasUrl(String url) { > + for (Tab tab : mOrder) { > + if (TextUtils.equals(tab.getURL(), url)) nit: I prefer to always use {}'s, even on one-line if's.
Attachment #760658 - Flags: review?(lucasr.at.mozilla) → review+
Whiteboard: fixed-fig
Assignee: nobody → sriram
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: