diff options
Diffstat (limited to 'chrome/common/platform_util_win.cc')
-rw-r--r-- | chrome/common/platform_util_win.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/platform_util_win.cc b/chrome/common/platform_util_win.cc index 63a4b23..1b1b666 100644 --- a/chrome/common/platform_util_win.cc +++ b/chrome/common/platform_util_win.cc @@ -151,4 +151,10 @@ bool IsVisible(gfx::NativeView view) { return ::IsWindowVisible(view) != 0; } +void SimpleErrorBox(gfx::NativeWindow parent, + const string16& title, + const string16& message) { + win_util::MessageBox(parent, message, title, MB_OK | MB_SETFOREGROUND); +} + } // namespace platform_util |