no file chooser support in Nacl in near future?

33 views
Skip to first unread message

Jim

unread,
Oct 14, 2011, 5:40:00 AM10/14/11
to Native-Client-Discuss
The NACL sdk is out, but the file chooser still did not work even in
open (read only) mode. The save mode was added and then removed again
in header file.
So does all these mean no file chooser support in Nacl in near future?

Matthew Ball

unread,
Oct 14, 2011, 9:41:13 AM10/14/11
to native-cli...@googlegroups.com
Hi Jim,

Can you please let us know which pepper version you are using?  You can dump version information by running this command from the latest nacl_sdk:

cd nacl_sdk   (or wherever you unzipped nacl_sdk.zip)
./naclsdk list  (mac or linux)
naclsdk.bat list (windows)


Very recently, we corrected the ppapi header files for the pepper_15 bundle to more exactly correspond to Chrome 15.  This resulted in a couple minor changes, which may have included the issue you're describing.  We now have an early developer release of the pepper_16 bundle, and the header files in this bundle should have the latest API changes that you're looking for.  The pepper_15 bundle has not yet been released to the stable channel, so there could still be some minor changes as we continue development.

Sorry for the inconvenience!

Cheers,
-Matt


--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To post to this group, send email to native-cli...@googlegroups.com.
To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.


David Michael

unread,
Oct 14, 2011, 11:44:38 AM10/14/11
to native-cli...@googlegroups.com, Bill Budge
Hi Jim,
I'm sorry. PPB_FileChooser_Dev (from ppapi/c/dev) and pp::FileChooserDev (from ppapi/cpp/dev) are currently unsupported. The 'dev' part of the path where you found them is short for "under development". Like all interfaces in those directories,
  1. FileChooser is not supported in NativeClient
  2. The API is subject to change without backwards-compatibility.
In the case of save functionality, we were considering providing it, but it is not provided (yet?) in the W3C standard, and we don't want to diverge from standards if we can help it, especially when there may be security implications. If that changes, we will probably add support. In any case, FileChooser won't be supported for NaCl apps until it is out of 'dev'. That's in our plans, but I don't know specifics.

(+bbudge in case he has anything to add)
-Dave

Bill Budge

unread,
Oct 14, 2011, 1:18:49 PM10/14/11
to native-cli...@googlegroups.com, Bill Budge
'Save As' mode was added to the PPB_FileChooser_Dev interface, then removed and placed in the PPB_FileChooserTrusted interface for the reasons David mentions. It's not so much security as the fact that this is not part of the Web platform. One of our goals is for PPAPI to match what is available to conventional Web apps.

There isn't much work left to move PPB_FileChooser out of dev and make it available to NaCl apps. We can't give you a definite date but since it's not yet in trunk it won't be in Chrome stable channel for at least 12 weeks.
Reply all
Reply to author
Forward
0 new messages