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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 10377066: aura: Close fullscreen RenderWidgetHostViewAura on blur. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
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..264edef557e74714cba60bc01fcf07f1068b5885 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_;
+ // Have we called host_->Shutdown()? Tracked so fullscreen views can avoid
+ // sending a second shutdown request 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_;

Powered by Google App Engine
This is Rietveld 408576698