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

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 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 1250f2f40485fb905f4776e16180cf1aa7470f18..c805d35457443cb57747f1a24fcee6f3a5c8a531 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -144,6 +144,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;
@@ -313,6 +314,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