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

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

Issue 663293002: Pass needLocalPath flag to file chooser dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 6 years, 2 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/file_chooser_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 46043269a57764b176451863eb9422e9eaf728a1..ad612ab9ce22842085b01b1ae495bbfae368bdd5 100644
--- a/content/public/common/file_chooser_params.h
+++ b/content/public/common/file_chooser_params.h
@@ -46,6 +46,9 @@ struct CONTENT_EXPORT FileChooserParams {
// input element. It is used to restrict selectable files to such types.
std::vector<base::string16> accept_types;
+ // Whether the caller needs native file path or not.
+ bool need_local_path;
+
#if defined(OS_ANDROID)
// See http://www.w3.org/TR/html-media-capture for more information.
// If true, the data should be obtained using the device's camera/mic/etc.
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/file_chooser_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698