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

Side by Side Diff: third_party/WebKit/public/web/WebFileChooserParams.h

Issue 2388103002: reflow comments in public/web (Closed)
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
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 21 matching lines...) Expand all
32 #define WebFileChooserParams_h 32 #define WebFileChooserParams_h
33 33
34 #include "../platform/WebString.h" 34 #include "../platform/WebString.h"
35 #include "../platform/WebURL.h" 35 #include "../platform/WebURL.h"
36 #include "../platform/WebVector.h" 36 #include "../platform/WebVector.h"
37 #include "WebFileChooserCompletion.h" 37 #include "WebFileChooserCompletion.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 struct WebFileChooserParams { 41 struct WebFileChooserParams {
42 // If |multiSelect| is true, the dialog allows the user to select multiple fil es. 42 // If |multiSelect| is true, the dialog allows the user to select multiple
43 // files.
43 bool multiSelect; 44 bool multiSelect;
44 // If |directory| is true, the dialog allows the user to select a directory. 45 // If |directory| is true, the dialog allows the user to select a directory.
45 bool directory; 46 bool directory;
46 // If |saveAs| is true, the dialog allows the user to select a possibly 47 // If |saveAs| is true, the dialog allows the user to select a possibly
47 // non-existent file. This can be used for a "Save As" dialog. 48 // non-existent file. This can be used for a "Save As" dialog.
48 bool saveAs; 49 bool saveAs;
49 // |title| is the title for a file chooser dialog. It can be an empty string. 50 // |title| is the title for a file chooser dialog. It can be an empty string.
50 WebString title; 51 WebString title;
51 // |initialValue| is a filename which the dialog should select by default. 52 // |initialValue| is a filename which the dialog should select by default.
52 // It can be an empty string. 53 // It can be an empty string.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 : multiSelect(false), 86 : multiSelect(false),
86 directory(false), 87 directory(false),
87 saveAs(false), 88 saveAs(false),
88 useMediaCapture(false), 89 useMediaCapture(false),
89 needLocalPath(true) {} 90 needLocalPath(true) {}
90 }; 91 };
91 92
92 } // namespace blink 93 } // namespace blink
93 94
94 #endif 95 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebDocument.h ('k') | third_party/WebKit/public/web/WebFindOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698