gtk: Map dialog type to message box type

This commit is contained in:
Cheng Zhao 2015-07-07 16:52:53 +08:00
parent 02e28ea758
commit 3e6394a004
4 changed files with 21 additions and 4 deletions

View file

@ -22,7 +22,9 @@ class NativeWindow;
enum MessageBoxType {
MESSAGE_BOX_TYPE_NONE = 0,
MESSAGE_BOX_TYPE_INFORMATION,
MESSAGE_BOX_TYPE_WARNING
MESSAGE_BOX_TYPE_WARNING,
MESSAGE_BOX_TYPE_ERROR,
MESSAGE_BOX_TYPE_QUESTION,
};
typedef base::Callback<void(int code)> MessageBoxCallback;