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

Unified Diff: chrome/browser/platform_util.h

Issue 7601014: browser: Abstract message box dialog functions into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile on linux_view? Created 9 years, 4 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/hang_monitor/hung_plugin_action.cc ('k') | chrome/browser/platform_util_common_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/platform_util.h
diff --git a/chrome/browser/platform_util.h b/chrome/browser/platform_util.h
index 37072a88e1cac344e959629d3806869c56a0f69b..400cb1b01e48495f6ce33c30be1a1c0ed53a8585 100644
--- a/chrome/browser/platform_util.h
+++ b/chrome/browser/platform_util.h
@@ -43,19 +43,6 @@ void ActivateWindow(gfx::NativeWindow window);
// whether the view has the visible attribute set.
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.
-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);
-}
+} // platform_util
#endif // CHROME_BROWSER_PLATFORM_UTIL_H_
« no previous file with comments | « chrome/browser/hang_monitor/hung_plugin_action.cc ('k') | chrome/browser/platform_util_common_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698