Add dialog API.
Supported APIs: * openFile * openMultiFiles * openFolder * saveAs Each API is asynchronous and accepts a callback.
This commit is contained in:
parent
42f10a15d5
commit
4aeb5e1388
11 changed files with 344 additions and 5 deletions
|
@ -60,8 +60,7 @@ NativeWindow* NativeWindow::Create(base::DictionaryValue* options) {
|
|||
}
|
||||
|
||||
// static
|
||||
NativeWindow* NativeWindow::FromProcessIDAndRoutingID(int process_id,
|
||||
int routing_id) {
|
||||
NativeWindow* NativeWindow::FromRenderView(int process_id, int routing_id) {
|
||||
// Stupid iterating.
|
||||
WindowList& window_list = *WindowList::GetInstance();
|
||||
for (auto window : window_list) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue