diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-12 22:08:40 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-12 22:08:40 +0000 |
commit | c90ce8463d6e839010bf0b17ef1b4c0c54c8f067 (patch) | |
tree | 6eeec3cca3c6780abf4473557047548832c613dc /chrome/browser/browser.cc | |
parent | 50bd0c732369a1e179a2691b24049780436b9a4d (diff) | |
download | chromium_src-c90ce8463d6e839010bf0b17ef1b4c0c54c8f067.zip chromium_src-c90ce8463d6e839010bf0b17ef1b4c0c54c8f067.tar.gz chromium_src-c90ce8463d6e839010bf0b17ef1b4c0c54c8f067.tar.bz2 |
Shorten several apps-related flags. "256 characters should be enough for anyone's shortcut flags!"
Review URL: http://codereview.chromium.org/1991009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47079 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r-- | chrome/browser/browser.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index 80f5004..aee74e5 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -1249,8 +1249,7 @@ void Browser::CloseWindow() { void Browser::NewTab() { UserMetrics::RecordAction(UserMetricsAction("NewTab"), profile_); #if defined(OS_WIN) - if (CommandLine::ForCurrentProcess()->HasSwitch( - switches::kAppLauncherForNewTab)) { + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAppsPanel)) { AppLauncher::ShowForNewTab(this, std::string()); return; } @@ -2060,8 +2059,7 @@ void Browser::ExecuteCommand(int id) { TabContents* Browser::AddBlankTab(bool foreground) { // To make a more "launchy" experience, try to reuse an existing NTP if there // is one. - if (CommandLine::ForCurrentProcess()->HasSwitch( - switches::kEnableExtensionApps)) { + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableApps)) { for (int i = tabstrip_model_.count() - 1; i >= 0; --i) { TabContents* contents = tabstrip_model_.GetTabContentsAt(i); if (StartsWithASCII(contents->GetURL().spec(), |