summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/restart_browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/restart_browser.h')
-rw-r--r--chrome/browser/cocoa/restart_browser.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/restart_browser.h b/chrome/browser/cocoa/restart_browser.h
new file mode 100644
index 0000000..1d6ab41
--- /dev/null
+++ b/chrome/browser/cocoa/restart_browser.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_COCOA_RESTART_BROWSER_H_
+#define CHROME_BROWSER_COCOA_RESTART_BROWSER_H_
+
+#import <Cocoa/Cocoa.h>
+
+// This is a functional match for chrome/browser/views/restart_message_box
+// so any code that needs to ask for a browser restart has something like what
+// the Windows code has.
+namespace restart_browser {
+
+// Puts up an alert telling the user to restart their browser. The alert
+// will be hung off |parent| or global otherise.
+void RequestRestart(NSWindow* parent);
+
+} // namespace restart_browser
+
+#endif // CHROME_BROWSER_COCOA_RESTART_BROWSER_H_