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

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

Issue 10963045: Makes closing a fullscreen window refocus the window it came from. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 04d814c04a38e723d0c7083108e545c4bb6f0a15..fbfc5e396769e5ab2b4c8e4ef467440ba2c36dd9 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -24,6 +24,7 @@
namespace aura {
class CompositorLock;
+class WindowTracker;
}
namespace gfx {
@@ -385,6 +386,10 @@ class RenderWidgetHostViewAura
// This lock is for waiting for a front surface to become available to draw.
scoped_refptr<aura::CompositorLock> released_front_lock_;
+ // Used to track the state of the window we're created from. Only used when
+ // created fullscreen.
+ scoped_ptr<aura::WindowTracker> host_tracker_;
+
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
};
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698