Index: chrome/browser/platform_util_win.cc |
diff --git a/chrome/browser/platform_util_win.cc b/chrome/browser/platform_util_win.cc |
index a5492132a8526f4bc04b1af076de2dfbdd14f655..a11cc13cc8b18024cbb7f5aab6f21617628672ea 100644 |
--- a/chrome/browser/platform_util_win.cc |
+++ b/chrome/browser/platform_util_win.cc |
@@ -18,7 +18,6 @@ |
#include "base/win/scoped_comptr.h" |
#include "chrome/common/scoped_co_mem.h" |
#include "googleurl/src/gurl.h" |
-#include "ui/base/message_box_win.h" |
#include "ui/base/win/shell.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -177,18 +176,4 @@ bool IsVisible(gfx::NativeView view) { |
return ::IsWindowVisible(view) != 0; |
} |
-void SimpleErrorBox(gfx::NativeWindow parent, |
- const string16& title, |
- const string16& message) { |
- ui::MessageBox(parent, message, title, |
- MB_OK | MB_SETFOREGROUND | MB_ICONWARNING | MB_TOPMOST); |
-} |
- |
-bool SimpleYesNoBox(gfx::NativeWindow parent, |
- const string16& title, |
- const string16& message) { |
- return ui::MessageBox(parent, message.c_str(), title.c_str(), |
- MB_YESNO | MB_ICONWARNING | MB_SETFOREGROUND) == IDYES; |
-} |
- |
} // namespace platform_util |