| Index: chrome/browser/ui/panels/panel.cc
|
| diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
|
| index 1372b935691264b3a883c3a52e4256dd2035b633..294f54684909695ddc6f79fbce3ac7cbcdd6a985 100644
|
| --- a/chrome/browser/ui/panels/panel.cc
|
| +++ b/chrome/browser/ui/panels/panel.cc
|
| @@ -258,9 +258,6 @@ gfx::Rect Panel::GetBounds() const {
|
| }
|
|
|
| void Panel::Show() {
|
| - if (manager()->display_settings_provider()->is_full_screen() || !collection_)
|
| - return;
|
| -
|
| native_panel_->ShowPanel();
|
| }
|
|
|
| @@ -269,6 +266,8 @@ void Panel::Hide() {
|
| }
|
|
|
| void Panel::ShowInactive() {
|
| + // Only if the panel is created without initial focus, we delay its showing
|
| + // until the fullscreen mode is exited.
|
| if (manager()->display_settings_provider()->is_full_screen() || !collection_)
|
| return;
|
|
|
|
|