OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2010, 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2010, 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
64 // - replacing with other files | 64 // - replacing with other files |
65 // before opening a file chooser dialog. | 65 // before opening a file chooser dialog. |
66 WebVector<WebString> selectedFiles; | 66 WebVector<WebString> selectedFiles; |
67 // See http://www.w3.org/TR/html-media-capture/ for the semantics of the | 67 // See http://www.w3.org/TR/html-media-capture/ for the semantics of the |
68 // capture attribute. If |useMediaCapture| is true, the media types | 68 // capture attribute. If |useMediaCapture| is true, the media types |
69 // indicated in |acceptTypes| should be obtained from the device's | 69 // indicated in |acceptTypes| should be obtained from the device's |
70 // environment using a media capture mechanism. |capture| is deprecated and | 70 // environment using a media capture mechanism. |capture| is deprecated and |
71 // provided for compatibility reasons. | 71 // provided for compatibility reasons. |
72 WebString capture; | 72 WebString capture; |
73 bool useMediaCapture; | 73 bool useMediaCapture; |
74 // 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.
| |
75 // implementation of FileChooserCompletion that can handle files without | |
76 // 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.
| |
77 bool needLocalPath; | |
74 | 78 |
75 WebFileChooserParams() | 79 WebFileChooserParams() |
76 : multiSelect(false) | 80 : multiSelect(false) |
77 , directory(false) | 81 , directory(false) |
78 , saveAs(false) | 82 , saveAs(false) |
79 , useMediaCapture(false) | 83 , useMediaCapture(false) |
80 { | 84 { |
81 } | 85 } |
82 }; | 86 }; |
83 | 87 |
84 } // namespace blink | 88 } // namespace blink |
85 | 89 |
86 #endif | 90 #endif |
OLD | NEW |