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

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

Issue 2524423002: VR: Disable Overscroll Glow in VrShell (Closed)
Patch Set: VR: Disable Overscroll Glow in VrShell Created 4 years, 1 month 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 0ac77152c1d894993b73fedd962a885adfcb6620..5ee00d9b6063423d958f79c048cbf7ee06df3e9e 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -152,6 +152,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 DidOverscroll(const ui::DidOverscrollParams& params) override;
void DidStopFlinging() override;
cc::FrameSinkId GetFrameSinkId() override;
@@ -316,6 +317,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_;
+
// ContentViewCoreImpl is our interface to the view system.
ContentViewCoreImpl* content_view_core_;

Powered by Google App Engine
This is Rietveld 408576698