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

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

Issue 2562733002: Implement our own GLThread for VR Shell. (Closed)
Patch Set: Address comment 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 a21580a6d6070fde398c14ed4faddeda8b26d82c..dbc66ed73c64a0f1ada3afc4595acb9e25944617 100644
--- a/chrome/browser/android/vr_shell/vr_web_contents_observer.cc
+++ b/chrome/browser/android/vr_shell/vr_web_contents_observer.cc
@@ -83,11 +83,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