Move file_dialog and message_box to browser/ui.

This commit is contained in:
Cheng Zhao 2013-08-13 16:51:47 +08:00
parent 149e2a4680
commit 97bf979b22
8 changed files with 18 additions and 18 deletions

30
browser/ui/message_box.h Normal file
View file

@ -0,0 +1,30 @@
// 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.
#ifndef BROWSER_UI_MESSAGE_BOX_H_
#define BROWSER_UI_MESSAGE_BOX_H_
#include <string>
#include <vector>
namespace atom {
class NativeWindow;
enum MessageBoxType {
MESSAGE_BOX_TYPE_NONE = 0,
MESSAGE_BOX_TYPE_INFORMATION,
MESSAGE_BOX_TYPE_WARNING
};
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);
} // namespace atom
#endif // BROWSER_UI_MESSAGE_BOX_H_