diff options
author | rginda@chromium.org <rginda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-04 17:47:11 +0000 |
---|---|---|
committer | rginda@chromium.org <rginda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-04 17:47:11 +0000 |
commit | 2f0c9bd240b4ae5b76b60c7b8d5570e8ff4f3044 (patch) | |
tree | 476d5112bc6e7ebff244581f7974e3f0283d6dab /ppapi/proxy/ppp_instance_proxy.cc | |
parent | 3d037ce75a4ae3dc07f062bad8afc5079a07d282 (diff) | |
download | chromium_src-2f0c9bd240b4ae5b76b60c7b8d5570e8ff4f3044.zip chromium_src-2f0c9bd240b4ae5b76b60c7b8d5570e8ff4f3044.tar.gz chromium_src-2f0c9bd240b4ae5b76b60c7b8d5570e8ff4f3044.tar.bz2 |
Initial file manager dialog implementation.
Here's the initial file manager implementation and development harness.
After applying this patch you should be able to visit file://path/to/chrome/src/chrome/browser/resources/file_manager/harness.html to see dialog in the harness.
You'll have to start chrome with
`chrome --allow-file-access-from-files --unlimited-quota-for-files`
Then click on the 'Choose File' button at the bottom of the harness to add files to the filesystem used by the dialog. Watch the js console for status messagesa bout the import, and reload the page when the import is complete. The 'Choose File' dialog wonn't allow you to import a directory structure, so you may want to use bin/squashdir.py to translate a directory tree into something that can be reconstituted by the harness.
This code only implements the 'select one file' mode at the moment, the other modes are coming soon.
Thumbnails are currently displayed using a data: url for the entire image file. This will change when soon when we have a thumbnail data source, or a js thumbnailer.
Icons and preview images are only placeholders until the real assets are available.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6723010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80335 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppp_instance_proxy.cc')
0 files changed, 0 insertions, 0 deletions