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

Unified Diff: chrome/browser/browser.cc

Issue 303030: Mac: Enable help when there are no windows. (Closed)
Patch Set: Created 11 years, 2 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/browser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.cc
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 86ac5c77f454a1b83c0daaa11edcfeb21515a8b7..0bc169f58bdb427e5cf2edec0b16b8eeeea0a056 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -319,6 +319,15 @@ void Browser::OpenApplicationWindow(Profile* profile, const GURL& url) {
tab_contents->view()->SetInitialFocus();
}
+#if defined(OS_MACOSX)
+// static
+void Browser::OpenHelpWindow(Profile* profile) {
pink (ping after 24hrs) 2009/10/22 18:22:56 we don't follow this pattern for anything else (th
+ Browser* browser = Browser::Create(profile);
+ browser->OpenHelpTab();
+ browser->window()->Show();
+}
+#endif
+
///////////////////////////////////////////////////////////////////////////////
// Browser, State Storage and Retrieval for UI:
« no previous file with comments | « chrome/browser/browser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698