Closed
Bug 1084100
Opened 11 years ago
Closed 11 years ago
Move reader logic out of BrowserToolbar
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 36
People
(Reporter: Margaret, Assigned: Margaret)
References
Details
Attachments
(1 file)
9.51 KB,
patch
|
bnicholson
:
review+
|
Details | Diff | Splinter Review |
This is similar to bug 1078355. Right now we have logic in BrowserToolbar to handle clicks on the reader mode page action icon, but there's no reason for it to be in BrowserToolbar, since these event handlers don't actually do anything with the toolbar:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/toolbar/BrowserToolbar.java#899
In bug 1078355, I suggested making a new Java class to handle processing all these reader events, and I think this logic could go there as well.
Assignee | ||
Comment 1•11 years ago
|
||
(In reply to :Margaret Leibovic from comment #0)
> In bug 1078355, I suggested making a new Java class to handle processing all
> these reader events, and I think this logic could go there as well.
Actually, this should really just go in Tabs, since it is only doing tab-specific stuff. I'll write a patch.
Assignee: nobody → margaret.leibovic
Assignee | ||
Comment 2•11 years ago
|
||
A small step to consolidate reader mode logic. This also makes this a bit more correct, since we're not just selecting the current tab at the time Java gets the message.
Attachment #8506489 -
Flags: review?(bnicholson)
Comment 3•11 years ago
|
||
Comment on attachment 8506489 [details] [diff] [review]
Move Reader:Click/LongClick event listeners out of BrowserToolbar
Review of attachment 8506489 [details] [diff] [review]:
-----------------------------------------------------------------
Nice, I like getting rid of these random GeckoEventListeners.
Attachment #8506489 -
Flags: review?(bnicholson) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 36
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
•