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

Unified Diff: chrome/browser/android/vr_shell/vr_compositor.h

Issue 2657703002: Swap to foreground tab when following links that open in a new tab/window in VR Shell. (Closed)
Patch Set: Address comments Created 3 years, 11 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: chrome/browser/android/vr_shell/vr_compositor.h
diff --git a/chrome/browser/android/vr_shell/vr_compositor.h b/chrome/browser/android/vr_shell/vr_compositor.h
index a0e872029c7484871c01c28b90763d5adba8e413..7238ad88034c8135910238d86f699f7ad866a648 100644
--- a/chrome/browser/android/vr_shell/vr_compositor.h
+++ b/chrome/browser/android/vr_shell/vr_compositor.h
@@ -45,6 +45,8 @@ class VrCompositor : public content::CompositorClient {
void OnSwapBuffersCompleted(int pending_swap_buffers) override;
private:
+ void RestoreLayer();
+
std::unique_ptr<content::Compositor> compositor_;
gfx::Size bounds_;

Powered by Google App Engine
This is Rietveld 408576698