Closed
Bug 881780
Opened 10 years ago
Closed 10 years ago
Make BrowserSearch inherit from HomeFragment
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 26
People
(Reporter: lucasr, Assigned: lucasr)
References
Details
(Whiteboard: fixed-fig)
Attachments
(5 files)
2.71 KB,
patch
|
sriram
:
review+
|
Details | Diff | Splinter Review |
4.20 KB,
patch
|
sriram
:
review+
|
Details | Diff | Splinter Review |
8.80 KB,
patch
|
sriram
:
review+
|
Details | Diff | Splinter Review |
6.19 KB,
patch
|
sriram
:
review+
|
Details | Diff | Splinter Review |
2.78 KB,
patch
|
sriram
:
review+
|
Details | Diff | Splinter Review |
As it needs all the common context actions implemented in HomeFragment (introduced in bug 878136). This also means using HomeListView in BrowserSearch.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #762065 -
Flags: review?(sriram)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #762066 -
Flags: review?(sriram)
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #762067 -
Flags: review?(sriram)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #762068 -
Flags: review?(sriram)
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #762069 -
Flags: review?(sriram)
Comment 6•10 years ago
|
||
Comment on attachment 762065 [details] [diff] [review] (1/5) Make favicon and bookmark type optional in HomeContextMenuInfo Review of attachment 762065 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/home/HomeListView.java @@ +12,5 @@ > import android.content.Context; > import android.database.Cursor; > import android.util.AttributeSet; > import android.view.ContextMenu.ContextMenuInfo; > +import android.view.MotionEvent; This doesnt seem to be needed here.
Attachment #762065 -
Flags: review?(sriram) → review+
Comment 7•10 years ago
|
||
Comment on attachment 762066 [details] [diff] [review] (2/5) Move touch handling from BookmarksPage to HomeListView Review of attachment 762066 [details] [diff] [review]: ----------------------------------------------------------------- The MotionEvent import should be a part of this. r+ with that.
Attachment #762066 -
Flags: review?(sriram) → review+
Comment 8•10 years ago
|
||
Comment on attachment 762067 [details] [diff] [review] (3/5) Move ContextMenu creation handling to HomeFragment Review of attachment 762067 [details] [diff] [review]: ----------------------------------------------------------------- I hope the context menu logic is same for history and bookmark tabs.
Attachment #762067 -
Flags: review?(sriram) → review+
Updated•10 years ago
|
Attachment #762068 -
Flags: review?(sriram) → review+
Comment 9•10 years ago
|
||
Comment on attachment 762069 [details] [diff] [review] (5/5) Change BrowserSearch to inherit from HomeFragment Review of attachment 762069 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/BrowserSearch.java @@ +48,5 @@ > > /** > * Fragment that displays frecency search results in a ListView. > */ > +public class BrowserSearch extends HomeFragment implements AdapterView.OnItemClickListener, Break this to next line please. Just like BrowserApp.
Attachment #762069 -
Flags: review?(sriram) → review+
Assignee | ||
Comment 10•10 years ago
|
||
(In reply to Sriram Ramasubramanian [:sriram] from comment #6) > Comment on attachment 762065 [details] [diff] [review] > (1/5) Make favicon and bookmark type optional in HomeContextMenuInfo > > Review of attachment 762065 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: mobile/android/base/home/HomeListView.java > @@ +12,5 @@ > > import android.content.Context; > > import android.database.Cursor; > > import android.util.AttributeSet; > > import android.view.ContextMenu.ContextMenuInfo; > > +import android.view.MotionEvent; > > This doesnt seem to be needed here. Removed.
Assignee | ||
Comment 11•10 years ago
|
||
(In reply to Sriram Ramasubramanian [:sriram] from comment #7) > Comment on attachment 762066 [details] [diff] [review] > (2/5) Move touch handling from BookmarksPage to HomeListView > > Review of attachment 762066 [details] [diff] [review]: > ----------------------------------------------------------------- > > The MotionEvent import should be a part of this. r+ with that. Done.
Assignee | ||
Comment 12•10 years ago
|
||
(In reply to Sriram Ramasubramanian [:sriram] from comment #8) > Comment on attachment 762067 [details] [diff] [review] > (3/5) Move ContextMenu creation handling to HomeFragment > > Review of attachment 762067 [details] [diff] [review]: > ----------------------------------------------------------------- > > I hope the context menu logic is same for history and bookmark tabs. Yeah. For now it seems to be working fine. If a fragment needs something different, we can always override onCreateContextMenu() for the custom bits.
Assignee | ||
Comment 13•10 years ago
|
||
(In reply to Sriram Ramasubramanian [:sriram] from comment #9) > Comment on attachment 762069 [details] [diff] [review] > (5/5) Change BrowserSearch to inherit from HomeFragment > > Review of attachment 762069 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: mobile/android/base/BrowserSearch.java > @@ +48,5 @@ > > > > /** > > * Fragment that displays frecency search results in a ListView. > > */ > > +public class BrowserSearch extends HomeFragment implements AdapterView.OnItemClickListener, > > Break this to next line please. Just like BrowserApp. Done.
Assignee | ||
Comment 14•10 years ago
|
||
Pushed: http://hg.mozilla.org/projects/fig/rev/441bc08c4d28 http://hg.mozilla.org/projects/fig/rev/62f98d2e9508 http://hg.mozilla.org/projects/fig/rev/129890019632 http://hg.mozilla.org/projects/fig/rev/621adb50d7eb http://hg.mozilla.org/projects/fig/rev/9da587767f31
Whiteboard: fixed-fig
Comment 15•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/441bc08c4d28 https://hg.mozilla.org/mozilla-central/rev/129890019632 https://hg.mozilla.org/mozilla-central/rev/621adb50d7eb https://hg.mozilla.org/mozilla-central/rev/9da587767f31
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Updated•2 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
•