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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.h

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: content/browser/renderer_host/render_widget_host_view_android.h
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h
index 7ad5cf29eca71485c90c939646c48b6bc7d3d009..815dc3e96fbebcab88fdd8ad97f91d2b4082978e 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -141,7 +141,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
cc::CompositorFrame frame) override;
void ClearCompositorFrame() override;
- void SetShowingOverscrollGlow(bool showing_glow) override;
+ void SetIsInVR(bool is_in_vr) override;
void DidOverscroll(const ui::DidOverscrollParams& params) override;
void DidStopFlinging() override;
cc::FrameSinkId GetFrameSinkId() override;
@@ -329,8 +329,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
bool is_window_visible_;
bool is_window_activity_started_;
- // Used to control the appearance of overscroll glow.
- bool is_showing_overscroll_glow_;
+ // Used to customize behavior for virtual reality mode, such as the
+ // appearance of overscroll glow and the keyboard.
+ bool is_in_vr_;
// ContentViewCoreImpl is our interface to the view system.
ContentViewCoreImpl* content_view_core_;

Powered by Google App Engine
This is Rietveld 408576698