Add dialog API.

Supported APIs:
* openFile
* openMultiFiles
* openFolder
* saveAs

Each API is asynchronous and accepts a callback.
This commit is contained in:
Cheng Zhao 2013-05-03 19:31:24 +08:00
parent 42f10a15d5
commit 4aeb5e1388
11 changed files with 344 additions and 5 deletions

View file

@ -49,6 +49,7 @@ class NativeWindowMac : public NativeWindow {
virtual void FlashFrame(bool flash) OVERRIDE;
virtual void SetKiosk(bool kiosk) OVERRIDE;
virtual bool IsKiosk() OVERRIDE;
virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
NSWindow*& window() { return window_; }