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)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 26
People
(Reporter: sriram, Assigned: sriram)
References
Details
(Whiteboard: fixed-fig)
Attachments
(1 file)
|
4.00 KB,
patch
|
lucasr
:
review+
|
Details | Diff | Splinter Review |
Switch to Tab was removed by Bug 862796. Add it back to bookmarks-page.
| Assignee | ||
Comment 1•12 years ago
|
||
This shows an icon if there is an url already opened.
Attachment #760658 -
Flags: review?(lucasr.at.mozilla)
Comment 2•12 years ago
|
||
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+
| Assignee | ||
Comment 3•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Whiteboard: fixed-fig
Comment 4•12 years ago
|
||
Assignee: nobody → sriram
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Updated•5 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
•