summaryrefslogtreecommitdiffstats
path: root/chrome/browser/platform_util.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 19:43:18 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 19:43:18 +0000
commitf21cf2cfe34186333a591ee0788072889c2eaa3e (patch)
treede1a7e58c0d6e6547026a0f01570ee9bc08542f2 /chrome/browser/platform_util.h
parente8982947401fb01cfb944271d8defcec0104d224 (diff)
downloadchromium_src-f21cf2cfe34186333a591ee0788072889c2eaa3e.zip
chromium_src-f21cf2cfe34186333a591ee0788072889c2eaa3e.tar.gz
chromium_src-f21cf2cfe34186333a591ee0788072889c2eaa3e.tar.bz2
Revert 46101 - Make a new yes/no messagebox wrapper function, use it in the bookmark alert.
BUG=http://crbug.com/34481; http://crbug.com/40011 TEST=on Mac/ChromeOS, have at least 15 bookmarks on bookmarks bar or other bookmarks, right click on one of those and click on Open all bookmarks. An confirmation dialog box should be shown. No other visible change. Review URL: http://codereview.chromium.org/1687017 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/1783014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46108 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/platform_util.h')
-rw-r--r--chrome/browser/platform_util.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/browser/platform_util.h b/chrome/browser/platform_util.h
index 3278696..1f148f4 100644
--- a/chrome/browser/platform_util.h
+++ b/chrome/browser/platform_util.h
@@ -36,18 +36,11 @@ bool IsVisible(gfx::NativeView view);
// 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 function should not be used for much. Infobars are preferred.
+// this class 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, stable).