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

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

Issue 2615003004: Support showing loading progress in the VR omnibox. (Closed)
Patch Set: 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_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 d36a68cf80cd7b19057c826d4eff89eefc65354b..6e17469813c1022ae858f18615ee326268bd3077 100644
--- a/chrome/browser/android/vr_shell/vr_web_contents_observer.cc
+++ b/chrome/browser/android/vr_shell/vr_web_contents_observer.cc
@@ -91,4 +91,8 @@ void VrWebContentsObserver::RenderViewHostChanged(
new_host->GetWidget()->GetView()->SetShowingOverscrollGlow(false);
}
+void VrWebContentsObserver::DidChangeLoadProgress(double progress) {
+ ui_interface_->SetLoadingProgress(progress);
+}
+
} // namespace vr_shell

Powered by Google App Engine
This is Rietveld 408576698