File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 29
29
#include < commdlg.h>
30
30
#endif
31
31
32
- #if defined(OS_MACOSX)
33
- #include < AppKit/NSSavePanel.h>
34
- #include < Foundation/NSURL.h>
35
- #endif
36
-
37
32
#include " base/bind.h"
38
33
#include " base/file_util.h"
39
34
#include " base/logging.h"
194
189
}
195
190
gtk_widget_destroy (dialog);
196
191
#else
197
- std::string base_name = FilePath (suggested_path).BaseName ().value ();
198
-
199
- NSSavePanel *savePanel = [NSSavePanel savePanel ];
200
-
201
- [savePanel setNamedFieldStringValue: [NSString stringWithUTF8String: base_name.c_str ()]];
202
-
203
- if ([savePanel runModal ] == NSFileHandlingPanelOKButton ) {
204
- char *filename = (char *)[[[savePanel URL ] path ] UTF8String ];
205
-
206
- result = FilePath (filename);
207
- }
192
+ NOTIMPLEMENTED ();
208
193
#endif
209
194
210
195
callback.Run (result, DownloadItem::TARGET_DISPOSITION_PROMPT,
You can’t perform that action at this time.
0 commit comments