Chromium Code Reviews| Index: chrome/browser/browser.cc |
| =================================================================== |
| --- chrome/browser/browser.cc (revision 25399) |
| +++ chrome/browser/browser.cc (working copy) |
| @@ -1163,6 +1163,10 @@ |
| } |
| void Browser::ToggleExtensionShelf() { |
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches:: |
| + kShowExtensionsOnTop)) { |
|
Finnur
2009/09/08 18:28:51
I wouldn't split up switches:: and kShowExtensions
|
| + return; |
| + } |
| UserMetrics::RecordAction(L"ToggleExtensionShelf", profile_); |
| window_->ToggleExtensionShelf(); |
| } |