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

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

Issue 2562733002: Implement our own GLThread for VR Shell. (Closed)
Patch Set: sigh 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.cc
diff --git a/chrome/browser/android/vr_shell/vr_web_contents_observer.cc b/chrome/browser/android/vr_shell/vr_web_contents_observer.cc
index 7171937ddc6ff86e4f930e57ebadda49006585d7..d36a68cf80cd7b19057c826d4eff89eefc65354b 100644
--- a/chrome/browser/android/vr_shell/vr_web_contents_observer.cc
+++ b/chrome/browser/android/vr_shell/vr_web_contents_observer.cc
@@ -74,11 +74,15 @@ void VrWebContentsObserver::DidToggleFullscreenModeForTab(
}
void VrWebContentsObserver::WebContentsDestroyed() {
- vr_shell_->ContentWebContentsDestroyedOnUI();
+ vr_shell_->ContentWebContentsDestroyed();
}
void VrWebContentsObserver::WasHidden() {
- vr_shell_->ContentWasHiddenOnUI();
+ vr_shell_->ContentWasHidden();
+}
+
+void VrWebContentsObserver::MainFrameWasResized(bool width_changed) {
+ vr_shell_->ContentFrameWasResized(width_changed);
}
void VrWebContentsObserver::RenderViewHostChanged(

Powered by Google App Engine
This is Rietveld 408576698