Closed Bug 1416319 Opened 7 years ago Closed 7 years ago

Provide DynamicToolbarAnimator API

Categories

(GeckoView :: Toolbar, enhancement)

All
Android
enhancement
Not set
normal

Tracking

(firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: jchen, Assigned: jchen)

References

Details

Attachments

(8 files)

For the session to support the Fennec dynamic toolbar, the session class should provide a DynamicToolbarAnimator getter, e.g. `LayerSession.getDynamicToolbarAnimator()`.

We should clean up DynamicToolbarAnimator so its only public methods are documented APIs, and then make Fennec code use the public API, e.g. `mGeckoSession.DynamicToolbarAnimator().setToolbarChromeProxy()`.
No longer blocks: 1415994
Depends on: 1415994
Assignee: nobody → nchen
Status: NEW → ASSIGNED
Comment on attachment 8930652 [details]
Bug 1416319 - 1. Move content-document-is-displayed flag to native code;

https://reviewboard.mozilla.org/r/201788/#review207084
Attachment #8930652 - Flags: review?(rbarker) → review+
Comment on attachment 8930653 [details]
Bug 1416319 - 2. Remove usage of MetricsListener by FormAssistPopup;

https://reviewboard.mozilla.org/r/201790/#review207086
Attachment #8930653 - Flags: review?(rbarker) → review+
Comment on attachment 8930657 [details]
Bug 1416319 - 6. Remove DynamicToolbarAnimator from LayerView;

https://reviewboard.mozilla.org/r/201798/#review207108
Attachment #8930657 - Flags: review?(rbarker) → review+
Comment on attachment 8930656 [details]
Bug 1416319 - 5. Update DynamicToolbarAnimator usage in other classes;

https://reviewboard.mozilla.org/r/201796/#review207112
Attachment #8930656 - Flags: review?(rbarker) → review+
Comment on attachment 8930655 [details]
Bug 1416319 - 4. Store DynamicToolbarAnimator in LayerSession;

https://reviewboard.mozilla.org/r/201794/#review207114
Attachment #8930655 - Flags: review?(rbarker) → review+
Comment on attachment 8930654 [details]
Bug 1416319 - 3. Clean up DynamicToolbarAnimator API;

https://reviewboard.mozilla.org/r/201792/#review207118
Attachment #8930654 - Flags: review?(rbarker) → review+
Comment on attachment 8930973 [details]
Bug 1416319 - 7. Don't expose viewport metrics from LayerSession;

https://reviewboard.mozilla.org/r/202066/#review207504
Attachment #8930973 - Flags: review?(rbarker) → review+
Comment on attachment 8930974 [details]
Bug 1416319 - 8. Switch to using LayerSession coordinates APIs;

https://reviewboard.mozilla.org/r/202068/#review207506
Attachment #8930974 - Flags: review?(rbarker) → review+
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/268ab0070722
1. Move content-document-is-displayed flag to native code; r=rbarker
https://hg.mozilla.org/integration/autoland/rev/64b9d89c7944
2. Remove usage of MetricsListener by FormAssistPopup; r=rbarker
https://hg.mozilla.org/integration/autoland/rev/ca03654dd10e
3. Clean up DynamicToolbarAnimator API; r=rbarker
https://hg.mozilla.org/integration/autoland/rev/2912f471bcf1
4. Store DynamicToolbarAnimator in LayerSession; r=rbarker
https://hg.mozilla.org/integration/autoland/rev/8debcdbf29a6
5. Update DynamicToolbarAnimator usage in other classes; r=rbarker
https://hg.mozilla.org/integration/autoland/rev/16d7d0e4c2c4
6. Remove DynamicToolbarAnimator from LayerView; r=rbarker
https://hg.mozilla.org/integration/autoland/rev/22648ca7dae8
7. Don't expose viewport metrics from LayerSession; r=rbarker
https://hg.mozilla.org/integration/autoland/rev/d5fec83fec85
8. Switch to using LayerSession coordinates APIs; r=rbarker
Depends on: 1435499
Product: Firefox for Android → GeckoView
Target Milestone: Firefox 59 → mozilla59

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

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

Attachment

General

Created:
Updated:
Size: