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

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

Issue 2562733002: Implement our own GLThread for VR Shell. (Closed)
Patch Set: 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 48cddbc3589634ce09e4c94f98e1bf7177da2cdd..e3330239a59c1de42107c382d04da7d835babe5a 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);
}
} // namespace vr_shell

Powered by Google App Engine
This is Rietveld 408576698