diff options
author | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 00:01:51 +0000 |
---|---|---|
committer | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 00:01:51 +0000 |
commit | 600ea40f950f2c2a177428986b9a2d557e7a8c90 (patch) | |
tree | e1d602a1e424758b8c18aee583e4dbbef75427da /base | |
parent | 491af0cde7544b0f973296782dbb1daccbc3d603 (diff) | |
download | chromium_src-600ea40f950f2c2a177428986b9a2d557e7a8c90.zip chromium_src-600ea40f950f2c2a177428986b9a2d557e7a8c90.tar.gz chromium_src-600ea40f950f2c2a177428986b9a2d557e7a8c90.tar.bz2 |
Add a path for a web page to request the enumeration of a directory. This, together with a WebKit change, will allow a drag-and-drop on a Directory Upload control (<input type=file webkitdirectory>) which provides only the path to the renderer, to correctly populate the control as if the user had selected that directory in a file picker.
BUG=58977
TEST=drag-and-drop on directory upload control (with upstream change)
Review URL: http://codereview.chromium.org/6623015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/platform_file.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/platform_file.h b/base/platform_file.h index 1d04ac0..cf01188 100644 --- a/base/platform_file.h +++ b/base/platform_file.h @@ -42,7 +42,8 @@ enum PlatformFileFlags { PLATFORM_FILE_HIDDEN = 1024, // Used on Windows only PLATFORM_FILE_DELETE_ON_CLOSE = 2048, PLATFORM_FILE_TRUNCATE = 4096, - PLATFORM_FILE_WRITE_ATTRIBUTES = 8192 // Used on Windows only + PLATFORM_FILE_WRITE_ATTRIBUTES = 8192, // Used on Windows only + PLATFORM_FILE_ENUMERATE = 16384, // May enumerate directory }; // PLATFORM_FILE_ERROR_ACCESS_DENIED is returned when a call fails because of |