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

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: 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
« Source/web/ChromeClientImpl.cpp ('K') | « 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..f4ceb3a245bccdc9bd0a5899633bb85f5a83ac29 100644
--- a/public/web/WebFileChooserParams.h
+++ b/public/web/WebFileChooserParams.h
@@ -71,6 +71,10 @@ struct WebFileChooserParams {
// provided for compatibility reasons.
WebString capture;
bool useMediaCapture;
+ // Whether FileChooserCompletion needs local paths or not. The
tkent 2014/10/15 08:58:12 What is FileChooserCompletion? Do you mean WebFil
hirono 2014/10/15 09:26:51 Yes. Updated the comment.
+ // implementation of FileChooserCompletion that can handle files without
+ // local path specifies false to the flag.
tkent 2014/10/15 08:58:12 Does it mean |needLocalPath| is updated outside of
hirono 2014/10/15 09:26:51 No, if the flag is set once, it will not be update
tkent 2014/10/16 00:39:02 Thanks. I understand.
+ bool needLocalPath;
WebFileChooserParams()
: multiSelect(false)
« Source/web/ChromeClientImpl.cpp ('K') | « Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698