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

Unified Diff: public/web/WebFileChooserParams.h

Issue 637873006: Add a flag to show if the FileChooserCompletion needs local paths or not. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add default value. 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 | « Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFileChooserParams.h
diff --git a/public/web/WebFileChooserParams.h b/public/web/WebFileChooserParams.h
index 2f8f40c652c034267c86c17768f630028166fe25..eaef311065998ff044d10fc4f093e4c128551c1c 100644
--- a/public/web/WebFileChooserParams.h
+++ b/public/web/WebFileChooserParams.h
@@ -71,12 +71,18 @@ struct WebFileChooserParams {
// provided for compatibility reasons.
WebString capture;
bool useMediaCapture;
+ // Whether WebFileChooserCompletion needs local paths or not. If the result
+ // of file chooser is handled by the implementation of
+ // WebFileChooserCompletion that can handle files without local paths,
+ // 'false' should be specified to the flag.
+ bool needLocalPath;
WebFileChooserParams()
: multiSelect(false)
, directory(false)
, saveAs(false)
, useMediaCapture(false)
+ , needLocalPath(true)
{
}
};
« no previous file with comments | « Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698