Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Unified Diff: content/public/common/file_chooser_params.h

Issue 10536066: android content shell bringup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and merge Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/file_chooser_params.h
diff --git a/content/public/common/file_chooser_params.h b/content/public/common/file_chooser_params.h
index acc7fade90eab74c468a73259f68af17f0823316..3fa356b6d0d2aabb8b2f9f55042798aea76474b1 100644
--- a/content/public/common/file_chooser_params.h
+++ b/content/public/common/file_chooser_params.h
@@ -46,6 +46,13 @@ struct CONTENT_EXPORT FileChooserParams {
// A list of valid lower-cased MIME types or file extensions specified in an
// input element. It is used to restrict selectable files to such types.
std::vector<string16> accept_types;
+
+#if defined(OS_ANDROID)
+ // Used to select items other than files, i.e. camera/mic. See
+ // SelectFileDialog.java for more details.
+ // TODO(jrg): upstream SelectFileDialog.java! Currently lives in chrome/.
+ string16 capture;
+#endif
};
} // namespace content
« no previous file with comments | « content/public/browser/android/content_view.h ('k') | content/shell/android/java/org/chromium/content_shell/ShellView.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698