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

Unified Diff: chrome/browser/ui/panels/panel_manager.cc

Issue 10836325: Revert 152201 - No browserless Panels unless enabled by flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_manager.cc
===================================================================
--- chrome/browser/ui/panels/panel_manager.cc (revision 152208)
+++ chrome/browser/ui/panels/panel_manager.cc (working copy)
@@ -93,12 +93,8 @@
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kOldPanels))
return false;
- // http://crbug.com/143506
- // TODO(jennb): Remove after channel check can be used.
-// return chrome::VersionInfo::GetChannel() <= chrome::VersionInfo::CHANNEL_DEV;
- // For now, use former flag to turn on browserless panels.
- return CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kBrowserlessPanels));
+ return chrome::VersionInfo::GetChannel() <=
+ chrome::VersionInfo::CHANNEL_UNKNOWN;
}
PanelManager::PanelManager()
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698