Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
| diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
| index 63c1609fa100e62bb3bdcdbd4d8c79807e5283ec..1e5acc19ac0eaeda043404fc45da2967108d8f0c 100644 |
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
| @@ -608,7 +608,13 @@ void RenderWidgetHostViewAura::Show() { |
| } |
| void RenderWidgetHostViewAura::Hide() { |
| - window_->Hide(); |
| + Hide(false); |
| +} |
| + |
| +void RenderWidgetHostViewAura::Hide(bool content_visible) { |
| + // We need to show content in a workspace view like Mac OSX Expose. |
| + if (!content_visible) |
|
no sievers
2015/03/03 21:12:53
Can you explain why it makes sense to have |window
joone
2015/03/04 05:22:45
I tried to call the Hide method when the browser w
no sievers
2015/03/04 19:21:25
This is the code right here. You mean the 'content
joone
2015/03/04 22:05:04
Yes, because if we calll window->Hide(), we only s
|
| + window_->Hide(); |
| if (host_ && !host_->is_hidden()) { |
| host_->WasHidden(); |