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

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

Issue 2542293002: Exit VR when our main content tab is hidden (Usually due to links opening in new tab) (Closed)
Patch Set: rebase Created 4 years 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_web_contents_observer.h
diff --git a/chrome/browser/android/vr_shell/vr_web_contents_observer.h b/chrome/browser/android/vr_shell/vr_web_contents_observer.h
index c13b1b983d7b3d7bbe08f29570adede16bde5a90..d82b1940a9a5658445ddc78fb2566375c0ae77a5 100644
--- a/chrome/browser/android/vr_shell/vr_web_contents_observer.h
+++ b/chrome/browser/android/vr_shell/vr_web_contents_observer.h
@@ -40,6 +40,7 @@ class CONTENT_EXPORT VrWebContentsObserver
void DidToggleFullscreenModeForTab(
bool entered_fullscreen, bool will_cause_resize) override;
void WebContentsDestroyed() override;
+ void WasHidden() override;
// This class does not own the UI interface.
UiInterface* ui_interface_;
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell.cc ('k') | chrome/browser/android/vr_shell/vr_web_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698