Index: chrome/browser/platform_util.h |
=================================================================== |
--- chrome/browser/platform_util.h (revision 50758) |
+++ chrome/browser/platform_util.h (working copy) |
@@ -39,11 +39,18 @@ |
// Pops up an error box with an OK button. If |parent| is non-null, the box |
// will be modal on it. (On Mac, it is always app-modal.) Generally speaking, |
-// this class should not be used for much. Infobars are preferred. |
+// this function should not be used for much. Infobars are preferred. |
void SimpleErrorBox(gfx::NativeWindow parent, |
const string16& title, |
const string16& message); |
+// Pops up a dialog box with two buttons (Yes/No), with the default button of |
+// Yes. If |parent| is non-null, the box will be modal on it. (On Mac, it is |
+// always app-modal.) Returns true if the Yes button was chosen. |
+bool SimpleYesNoBox(gfx::NativeWindow parent, |
+ const string16& title, |
+ const string16& message); |
+ |
// Return a human readable modifier for the version string. For a |
// branded Chrome (not Chromium), this modifier is the channel (dev, |
// beta, but "" for stable). |
Property changes on: chrome/browser/platform_util.h |
___________________________________________________________________ |
Name: svn:mergeinfo |
+ |