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

Unified Diff: chrome/browser/browser.cc

Issue 661454: Initial implementation of status tray functionality (mac-only, currently). (Closed)
Patch Set: more changes per review feedback Created 10 years, 10 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') | chrome/browser/browser_init.cc » ('j') | 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 40d10729c1d73a00fc88950453ce0e7c47f9fc90..344a6608f4718029bc0bc3133bcabbcf9465c876 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -406,19 +406,20 @@ void Browser::OpenDownloadsWindow(Profile* profile) {
}
// static
-void Browser::OpenExtensionsWindow(Profile* profile) {
+void Browser::OpenHelpWindow(Profile* profile) {
Browser* browser = Browser::Create(profile);
- browser->ShowExtensionsTab();
+ browser->OpenHelpTab();
browser->window()->Show();
}
+#endif
// static
-void Browser::OpenHelpWindow(Profile* profile) {
+void Browser::OpenExtensionsWindow(Profile* profile) {
Browser* browser = Browser::Create(profile);
- browser->OpenHelpTab();
+ browser->ShowExtensionsTab();
browser->window()->Show();
}
-#endif
+
///////////////////////////////////////////////////////////////////////////////
// Browser, State Storage and Retrieval for UI:
« no previous file with comments | « chrome/browser/browser.h ('k') | chrome/browser/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698