Add dummy implementation of message box for Windows.

This commit is contained in:
Cheng Zhao 2013-07-05 09:59:53 +08:00
parent df460c8d7d
commit cbb3c89ad7
2 changed files with 19 additions and 0 deletions

View file

@ -96,6 +96,7 @@
'browser/media/media_stream_devices_controller.h',
'browser/message_box.h',
'browser/message_box_mac.mm',
'browser/message_box_win.cc',
'browser/native_window.cc',
'browser/native_window.h',
'browser/native_window_mac.h',

View file

@ -0,0 +1,18 @@
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "browser/message_box.h"
namespace atom {
int ShowMessageBox(NativeWindow* parent_window,
MessageBoxType type,
const std::vector<std::string>& buttons,
const std::string& title,
const std::string& message,
const std::string& detail) {
return 0;
}
} // namespace atom