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

Unified Diff: chrome/browser/chrome_browser_main_win.cc

Issue 10689095: browser: Put simple_message_box.h and chrome_web_contents_view_delegate.h into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_win.cc
diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc
index 69d0707eac2b4a0901907dfb08183a0c85a428a4..5939c47fa8c534efa58b20b8f3a6b70b2b80e953 100644
--- a/chrome/browser/chrome_browser_main_win.cc
+++ b/chrome/browser/chrome_browser_main_win.cc
@@ -91,19 +91,18 @@ void RecordBreakpadStatusUMA(MetricsService* metrics) {
void WarnAboutMinimumSystemRequirements() {
if (base::win::GetVersion() < base::win::VERSION_XP) {
- const string16 title = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME);
- const string16 message =
- l10n_util::GetStringUTF16(IDS_UNSUPPORTED_OS_PRE_WIN_XP);
- browser::ShowMessageBox(NULL, title, message,
- browser::MESSAGE_BOX_TYPE_WARNING);
+ chrome::ShowMessageBox(NULL,
+ l10n_util::GetStringUTF16(IDS_PRODUCT_NAME),
+ l10n_util::GetStringUTF16(IDS_UNSUPPORTED_OS_PRE_WIN_XP),
+ chrome::MESSAGE_BOX_TYPE_WARNING);
}
}
void ShowCloseBrowserFirstMessageBox() {
- const string16 title = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME);
- const string16 message = l10n_util::GetStringUTF16(IDS_UNINSTALL_CLOSE_APP);
- browser::ShowMessageBox(NULL, title, message,
- browser::MESSAGE_BOX_TYPE_WARNING);
+ chrome::ShowMessageBox(NULL,
+ l10n_util::GetStringUTF16(IDS_PRODUCT_NAME),
+ l10n_util::GetStringUTF16(IDS_UNINSTALL_CLOSE_APP),
+ chrome::MESSAGE_BOX_TYPE_WARNING);
}
int DoUninstallTasks(bool chrome_still_running) {
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698