Closed Bug 882716 Opened 12 years ago Closed 12 years ago

Implement "tabs from last session" sub-fragment in the new about:home

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect, P1)

All
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 26

People

(Reporter: lucasr, Assigned: lucasr)

References

Details

(Whiteboard: fixed-fig)

Attachments

(2 files)

Tapping on the "Tabs from last session" button should open a new fragment inside homepager.
Attachment #767739 - Flags: review?(wjohnston)
Attachment #767743 - Flags: review?(bnicholson)
FYI: Again, the code to actually show the fragment is coming in a separate patch. This one is self-contained enough to be reviewed separately.
Blocks: 887268
Blocks: 887269
Blocks: 887270
Depends on: 882715
Drive-by: Isn't "Tabs from last time" supposed to be a sub-section of the "Visited" page? Or has that changed? If not, I feel like we shouldn't put "Page" in the name for this fragment.
Comment on attachment 767743 [details] [diff] [review] Implement "Last Tabs" page for new about:home Review of attachment 767743 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/home/LastTabsPage.java @@ +126,5 @@ > + @Override > + public void onActivityCreated(Bundle savedInstanceState) { > + super.onActivityCreated(savedInstanceState); > + > + // Intialize adapter Nit: s/Intialize/Initialize/ @@ +131,5 @@ > + mAdapter = new LastTabsAdapter(getActivity()); > + mList.setAdapter(mAdapter); > + > + // Create callbacks before the initial loader is started > + mCursorLoaderCallbacks = new CursorLoaderCallbacks(); Does mCursorLoaderCallbacks need to be a class variable? This is the only place you use it, so you could probably make it local unless you planned on referencing it elsewhere.
Attachment #767743 - Flags: review?(bnicholson) → review+
Priority: -- → P1
Comment on attachment 767739 [details] [diff] [review] Add getFaviconBytesForUrl() to BrowserDB Review of attachment 767739 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/db/LocalBrowserDB.java @@ +685,5 @@ > + Combined.URL + " = ?", > + new String[] { uri }, > + null); > + > + if (!c.moveToFirst()) { cr.query can return null.
Attachment #767739 - Flags: review?(wjohnston) → review+
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: