Add dialog API.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 May 2013 11:31:24 +0000 (19:31 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 May 2013 11:31:24 +0000 (19:31 +0800)
commit4aeb5e138864e2a12c2d05d3715f7c1e56d43be2
tree8788a5f87ba7cf81a74102845ad7b9975d54ab5b
parent42f10a15d585ddc4bf253c1aa4c4b5a16b91b934
Add dialog API.

Supported APIs:
* openFile
* openMultiFiles
* openFolder
* saveAs

Each API is asynchronous and accepts a callback.
atom.gyp
browser/api/atom_api_app.h
browser/api/atom_api_file_dialog.cc [new file with mode: 0644]
browser/api/atom_api_file_dialog.h [new file with mode: 0644]
browser/api/lib/dialog.coffee [new file with mode: 0644]
browser/native_window.cc
browser/native_window.h
browser/native_window_mac.h
browser/native_window_mac.mm
common/api/atom_extensions.h
renderer/api/lib/dialog.coffee [new file with mode: 0644]