File dialogs don't need icon

This commit is contained in:
Cheng Zhao 2015-01-05 15:29:26 -08:00
parent 708e738521
commit ecb9e93394
2 changed files with 0 additions and 4 deletions

View file

@ -69,7 +69,6 @@ void ShowMessageBox(int type,
void ShowOpenDialog(const std::string& title, void ShowOpenDialog(const std::string& title,
const base::FilePath& default_path, const base::FilePath& default_path,
const file_dialog::Filters& filters, const file_dialog::Filters& filters,
const gfx::ImageSkia& icon,
int properties, int properties,
atom::NativeWindow* window, atom::NativeWindow* window,
mate::Arguments* args) { mate::Arguments* args) {
@ -91,7 +90,6 @@ void ShowOpenDialog(const std::string& title,
void ShowSaveDialog(const std::string& title, void ShowSaveDialog(const std::string& title,
const base::FilePath& default_path, const base::FilePath& default_path,
const file_dialog::Filters& filters, const file_dialog::Filters& filters,
const gfx::ImageSkia& icon,
atom::NativeWindow* window, atom::NativeWindow* window,
mate::Arguments* args) { mate::Arguments* args) {
v8::Handle<v8::Value> peek = args->PeekNext(); v8::Handle<v8::Value> peek = args->PeekNext();

View file

@ -42,7 +42,6 @@ module.exports =
options.title ?= '' options.title ?= ''
options.defaultPath ?= '' options.defaultPath ?= ''
options.filters ?= [] options.filters ?= []
options.icon ?= null
wrappedCallback = wrappedCallback =
if typeof callback is 'function' if typeof callback is 'function'
@ -65,7 +64,6 @@ module.exports =
options.title ?= '' options.title ?= ''
options.defaultPath ?= '' options.defaultPath ?= ''
options.filters ?= [] options.filters ?= []
options.icon ?= null
wrappedCallback = wrappedCallback =
if typeof callback is 'function' if typeof callback is 'function'