Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Chrome extension or apps communicate with macbook touchbar?

I was wondering if chrome extensions or chrome app, can they communicate with the new macbook pro touchbar?

I was thinking to bring in the same capabilities to touch bar (in the case of chrome) which are there in the safari. As in when you play a video on youtube safari and when you put it on full screen mode, touch bar shows nice video progress slider and volume and fullscreen controls...

Or if there is some other way if extension or apps cant solve it?

like image 989
void Avatar asked Nov 14 '17 18:11

void


1 Answers

Not directly.

You would need a native application that takes care of actually changing the Touch Bar contents and then communicate to it through an HTTP server, WebSocket server or Native Messaging

I don't expect the Touch Bar to ever be available directly via Chrome APIs, but one can hope.

like image 184
fregante Avatar answered Oct 11 '22 19:10

fregante