New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 705965 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 698580
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

TouchBar API (or advanced touch bar support)

Reported by olos...@gmail.com, Mar 28 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3054.0 Safari/537.36

Steps to reproduce the problem:
1. Open any page with input or video/audio playback
2. Focus input or start video/audio playback

What is the expected behavior?
TouchBar should show relevant controls: For video/audio - play/pause, for input - emoji or word suggestions

What went wrong?
Currently (in Canary) there is a static touch bar or even it is hidden (in case of Hangouts app, for example)

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 59.0.3054.0  Channel: canary
OS Version: OS X 10.12.3
Flash Version: Shockwave Flash 25.0 r0

There would be nice to have some sort of API to be able to add/remove buttons, so chrome extensions or even web sites would be able to add relevant actions.

Or at least provide some additional buttons for input controls or video/audio playback.
 

Comment 1 by meh...@chromium.org, Mar 28 2017

Cc: spqc...@chromium.org
Components: UI>Browser>Touchbar
Mergedinto: 698580
Status: Duplicate (was: Unconfirmed)

Comment 3 by olos...@gmail.com, Mar 29 2017

I would say that this issue is little bit different from #698580 because it is more about custom TouchBar items . 

Could be something like https://bugs.chromium.org/p/chromium/issues/detail?id=87553&desc=2

Comment 4 by phistuck@gmail.com, Mar 29 2017

Do you want an open web platform API for the touch bar, or a Chrome extension API for the touch bar?
(Ruling out Chrome application API here, since Chrome applications are being phased out for any non Chrome OS platform)

Comment 5 by olos...@gmail.com, Mar 29 2017

Basically now when you use Hangouts app there is no any TouchBar icon (for normal pages there is at least reload, search etc. for Canary builds)

So if there would be at least possibility for Chrome apps to manage icons, it will be good improvements. "open web platform API for the touch bar" sounds great, but too scary :)

Also (may be new issue should be created), when you use "confirm()", it's better to replace icons with "Ok","Cancel" - very small tweak, but very convenient.

Comment 6 by phistuck@gmail.com, Mar 29 2017

#5 - Chrome applications will not be getting such an API since Chrome OS devices do not have a touch bar. Of course, I have not idea regarding future plans, but as it stands, it is useless in the context of Chrome applications.

Regarding confirm(), yes, you should file a new issue.

Sign in to add a comment