Closed Bug 1598138 Opened 6 years ago Closed 6 years ago

support static toolbar at top/bottom

Categories

(GeckoView :: General, enhancement)

Unspecified
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hiro, Unassigned)

Details

To support static toolbar, we need to offset the client top position by the toolbar height and subtract the height from the GeckoView's height in GeckoSession.onWindowBoundsChanged().

To make the top toolbar dynamic, we can't simply offset the client rect at the same place, as far as I can tell, onBoundsChanged causes at least a reflow, we don't want to do that, we should tackle it in a different bug.

One caveat here is that if GeckoView component isn't laid out in CoordinatorLayout, we don't need to worry about this issue, just like GeckoView exmaple which is in RelativeLayout component.

Yeah, for a static layout we really don't need to consider the toolbar at all. The viewport size will never change, so we don't need to do any special work here.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX

Moving toolbar bugs to the new GeckoView::Toolbar component.

Component: General → Toolbar
Component: Toolbar → General
You need to log in before you can comment on or make changes to this bug.