Closed Bug 1210580 Opened 9 years ago Closed 7 years ago

Customize UI using values from custom tab VIEW intent

Categories

(Firefox for Android Graveyard :: General, defect)

Unspecified
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mail, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Firefox for Android

Steps to reproduce:

Launch Firefox with a view intent with extra "android.support.customtabs.extra.TOOLBAR_COLOR" as described in
https://developer.chrome.com/multidevice/android/customtabs#configure-the color of the address bar




Actual results:

The given url opened, the address bar showed the usual design


Expected results:

The given url should open and the given color in the extra should be applied to the address bar
Component: General → Tabbed Browser
OS: Unspecified → Android
Version: 44 Branch → Trunk
Component: Tabbed Browser → General
Product: Firefox → Firefox for Android
"Custom tabs" are not supported yet. But we are tracking work for it in meta bug 1208655. I didn't find a bug for the UI customization work so I'll just mark this one as blocking the meta bug.
Blocks: customtabs
I think this is tracked as part of light weight themes, but I don't know the ticket number.  mcomella might.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Rewording: There's now much more than just the color in those intents.

This is a sample project implementing some of that:
https://github.com/GoogleChrome/custom-tabs-provider/
Summary: Use custom tabs toolbar color of VIEW intent if present → Customize UI using values from custom tab VIEW intent
For toolbar color, the work for bug 1098544 might be useful.
See Also: → 1098544
Toolbar color has been added in https://bugzilla.mozilla.org/show_bug.cgi?id=1279278

Menu items are handled in https://bugzilla.mozilla.org/show_bug.cgi?id=1315937
I think this is basically done per comment #5
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.