gecko-dev/mobile
Jan Henning f47eb731da Bug 1414084 - Part 13 - Cache PageActions. r=Grisha
Since converting a PageAction message into an actual PageAction object also en-
tails parsing the image data URL into a drawable, we leave that task to the
PageActionLayout.

This means that the PageAction cache needs to operate slightly differently than
the MenuItem cache. First, we store all PageAction BundleEvent messages that
arrive while no PageActionLayout is ready and then forward them en masse when
one becomes available. Secondly, if the PageActionLayout is going away again,
we then also take a list of already parsed PageAction objects for safekeeping.

MozReview-Commit-ID: AcPPONXqe46

--HG--
extra : rebase_source : 696df760f28f9d126858920b544585e4c86219ff
2018-02-26 21:50:50 +01:00
..
android Bug 1414084 - Part 13 - Cache PageActions. r=Grisha 2018-02-26 21:50:50 +01:00
locales Merge inbound to mozilla-central. a=merge 2018-08-02 01:09:38 +03:00