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

Unified Diff: chrome/browser/platform_util_win.cc

Issue 1745024: Make a new yes/no messagebox wrapper function, use it in the bookmark alert.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
Index: chrome/browser/platform_util_win.cc
===================================================================
--- chrome/browser/platform_util_win.cc (revision 50758)
+++ chrome/browser/platform_util_win.cc (working copy)
@@ -158,6 +158,13 @@
win_util::MessageBox(parent, message, title, MB_OK | MB_SETFOREGROUND);
}
+bool SimpleYesNoBox(gfx::NativeWindow parent,
+ const string16& title,
+ const string16& message) {
+ return win_util::MessageBox(parent, message.c_str(), title.c_str(),
+ MB_YESNO | MB_ICONWARNING | MB_SETFOREGROUND) == IDYES;
+}
+
string16 GetVersionStringModifier() {
#if defined(GOOGLE_CHROME_BUILD)
FilePath module;
Property changes on: chrome/browser/platform_util_win.cc
___________________________________________________________________
Name: svn:mergeinfo
+

Powered by Google App Engine
This is Rietveld 408576698