You can have a look at the file src/chrome/browser/external_protocol_handler.cc

maybe that's what you want.

Regards

James

From: Michelon, Philippe
Sent: Friday, April 08, 2011 3:48 PM
To: Wei, James; [email protected]
Subject: RE: launching apps from Chrome

Well, rather than using xdg-open and use mimetypes,  I was looking for how to 
add new protocol handlers. For example to have url of that form 
"dummy://......." This would start a given application  associated to this 
"dummy" protocol. Pretty much like apt in Ubuntu where you declare links in web 
pages like this apt://.... And that launches the installation of that 
application.

I am wondering how that could be done in the Meego browser (not in Chrome 
actually, I meant Chromium in fact).

Regards,

Philippe

________________________________
From: Wei, James
Sent: vendredi 8 avril 2011 03:07
To: Michelon, Philippe; [email protected]
Subject: RE: launching apps from Chrome

Do you mean something like launching pdf viewer to open PDF file in browser?

Chrome browser uses xdg-open to use external application to open some links.

Regards

James

From: [email protected] [mailto:[email protected]] On 
Behalf Of Michelon, Philippe
Sent: Wednesday, April 06, 2011 6:21 PM
To: [email protected]
Subject: [MeeGo-dev] launching apps from Chrome

Hi,

Does anyone know how to launch an application from a web page in Chrome 
browser. ?

Regards,

Philippe Michelon
   SSG Application Engineer
INTEL
   Telephone: +33 (0)6 77 94 88 91
   E-mail: [email protected]<mailto:[email protected]>

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to