Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2636)

Unified Diff: chrome/browser/ui/views/simple_message_box_win.cc

Issue 161803002: Remove Non-Aura Win ShowMessageBox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/simple_message_box_win.cc
diff --git a/chrome/browser/ui/views/simple_message_box_win.cc b/chrome/browser/ui/views/simple_message_box_win.cc
index 1cea29357c5dfd28224bca897d291c24d5a6c359..c769195f4ada1bbafe626335947018e9926ea944 100644
--- a/chrome/browser/ui/views/simple_message_box_win.cc
+++ b/chrome/browser/ui/views/simple_message_box_win.cc
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698