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

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

Issue 2632493005: Disable Android virtual keyboard when in VR shell (Closed)
Patch Set: minor clean up 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..77979416279f680ef4e09c10bc666036811b4c32 100644
--- a/chrome/browser/android/vr_shell/vr_web_contents_observer.cc
+++ b/chrome/browser/android/vr_shell/vr_web_contents_observer.cc
@@ -88,7 +88,7 @@ void VrWebContentsObserver::MainFrameWasResized(bool width_changed) {
void VrWebContentsObserver::RenderViewHostChanged(
content::RenderViewHost* old_host,
content::RenderViewHost* new_host) {
- new_host->GetWidget()->GetView()->SetShowingOverscrollGlow(false);
+ new_host->GetWidget()->GetView()->SetIsInVR(true);
}
} // namespace vr_shell
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698