Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / simple_message_box_win.cc
index 1cea293..c769195 100644 (file)
@@ -4,9 +4,7 @@
 
 #include "chrome/browser/ui/simple_message_box.h"
 
-#include "components/startup_metric_utils/startup_metric_utils.h"
 #include "ui/base/win/message_box_win.h"
-#include "ui/gfx/win/hwnd_util.h"
 
 namespace chrome {
 
@@ -29,18 +27,4 @@ MessageBoxResult NativeShowMessageBox(HWND parent,
       MESSAGE_BOX_RESULT_YES : MESSAGE_BOX_RESULT_NO;
 }
 
-#if !defined(USE_AURA)
-MessageBoxResult ShowMessageBox(gfx::NativeWindow parent,
-                                const base::string16& title,
-                                const base::string16& message,
-                                MessageBoxType type) {
-  startup_metric_utils::SetNonBrowserUIDisplayed();
-
-  if (!parent)
-    parent = gfx::GetWindowToParentTo(true);
-
-  return NativeShowMessageBox(parent, title, message, type);
-}
-#endif
-
 }  // namespace chrome