Index: content/browser/renderer_host/render_widget_host_view_aura.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h |
index fae4e13078a184800e22082dacf1093438c83bff..e6b23d2601adb2984cd49c40262ff6e2a0d8302f 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.h |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h |
@@ -225,6 +225,11 @@ class RenderWidgetHostViewAura |
scoped_ptr<WindowObserver> window_observer_; |
+ // Are we in the process of closing? Tracked so fullscreen views can avoid |
+ // sending a second shutdown request to the host when they lose the focus |
+ // after requesting shutdown for another reason (e.g. Escape key). |
+ bool in_shutdown_; |
+ |
// Is this a fullscreen view? |
bool is_fullscreen_; |