summaryrefslogtreecommitdiffstats
path: root/chrome/browser/platform_util_win.cc
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_win.cc
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_win.cc')
-rw-r--r--chrome/browser/platform_util_win.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/platform_util_win.cc b/chrome/browser/platform_util_win.cc
index e612f64..7738fe3 100644
--- a/chrome/browser/platform_util_win.cc
+++ b/chrome/browser/platform_util_win.cc
@@ -154,13 +154,6 @@ void SimpleErrorBox(gfx::NativeWindow parent,
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;