diff options
author | tedchoc <tedchoc@chromium.org> | 2015-07-20 13:51:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-20 20:52:51 +0000 |
commit | 1f37aaf390288b2864efe98a07427dbf91771489 (patch) | |
tree | 191d1d227d6c8d4f66fca943de4d3a2f2b9c63f9 /components/components.gyp | |
parent | 581b6ae8b21ff759510843b09545cf033d06c2f1 (diff) | |
download | chromium_src-1f37aaf390288b2864efe98a07427dbf91771489.zip chromium_src-1f37aaf390288b2864efe98a07427dbf91771489.tar.gz chromium_src-1f37aaf390288b2864efe98a07427dbf91771489.tar.bz2 |
Ask for necessary android permissions when selecting a file.
TEST:
Go to: http://www.w3schools.com/tags/att_input_accept.asp
Click "Try it yourself"
Click "Choose file" and see it prompts for camera permission
Change accept attribute to either "video/*" or "audio/*" and see
that it requests camera or microphone accordingly.
If there is no capture attirubte in the input tag, declining
the permission should still allow the user to select a file but
the direct intent to camera / sound recording should not be
present.
BUG=510998
Review URL: https://codereview.chromium.org/1238903007
Cr-Commit-Position: refs/heads/master@{#339511}
Diffstat (limited to 'components/components.gyp')
0 files changed, 0 insertions, 0 deletions